|
19 | 19 | require: write |
20 | 20 | username: ${{ github.triggering_actor }} |
21 | 21 | error-if-missing: true |
22 | | - # Skip this check for bot users |
23 | | - if: ${{ !endsWith(github.triggering_actor, '[bot]') }} |
24 | 22 |
|
25 | 23 | unit-tests: |
26 | | - # Run if access-check is successful or skipped (for bot users) |
27 | 24 | needs: access-check |
28 | | - if: ${{ always() && (needs.access-check.result == 'success' || needs.access-check.result == 'skipped') }} |
29 | 25 | runs-on: ubuntu-latest-8 |
30 | 26 | steps: |
31 | 27 | - uses: actions/checkout@v4 |
@@ -54,15 +50,15 @@ jobs: |
54 | 50 | codemod-tests: |
55 | 51 | needs: access-check |
56 | 52 | # TODO: re-enable when this check is a develop required check |
57 | | - if: ${{ always() && (needs.access-check.result == 'success' || needs.access-check.result == 'skipped') && false }} |
| 53 | + if: false |
58 | 54 | runs-on: ubuntu-latest-32 |
59 | 55 | strategy: |
60 | 56 | matrix: |
61 | 57 | sync_graph: [ true, false ] |
62 | 58 | size: [ small, large ] |
63 | 59 | exclude: |
64 | 60 | # Exclude large codemod tests when not needed |
65 | | - - size: ${{(contains(github.event.pull_request.labels.*.name, 'big-codemod-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch') && 'kevin' || 'large'} |
| 61 | + - size: ${{(contains(github.event.pull_request.labels.*.name, 'big-codemod-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch') && 'kevin' || 'large'}} |
66 | 62 | - size: large |
67 | 63 | sync_graph: true |
68 | 64 | concurrency: |
|
95 | 91 |
|
96 | 92 | parse-tests: |
97 | 93 | needs: access-check |
98 | | - if: ${{ always() && (needs.access-check.result == 'success' || needs.access-check.result == 'skipped') && (contains(github.event.pull_request.labels.*.name, 'parse-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch') }} |
| 94 | + if: contains(github.event.pull_request.labels.*.name, 'parse-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch' |
99 | 95 | runs-on: ubuntu-latest-32 |
100 | 96 | steps: |
101 | 97 | - uses: actions/checkout@v4 |
@@ -166,7 +162,6 @@ jobs: |
166 | 162 |
|
167 | 163 | integration-tests: |
168 | 164 | needs: access-check |
169 | | - if: ${{ always() && (needs.access-check.result == 'success' || needs.access-check.result == 'skipped') }} |
170 | 165 | runs-on: ubuntu-latest-16 |
171 | 166 | steps: |
172 | 167 | - uses: actions/checkout@v4 |
|
0 commit comments