|
1 | 1 | name: Bittensor BTCLI Test
|
2 | 2 |
|
3 | 3 | concurrency:
|
4 |
| - group: e2e-sdk-${{ github.ref }} |
| 4 | + group: e2e-cli-${{ github.ref }} |
5 | 5 | cancel-in-progress: true
|
6 | 6 |
|
7 | 7 | permissions:
|
@@ -37,14 +37,14 @@ jobs:
|
37 | 37 | runs-on: ubuntu-latest
|
38 | 38 | if: ${{ github.event.pull_request.draft == false }}
|
39 | 39 | outputs:
|
40 |
| - run-sdk-tests: ${{ contains(github.event.pull_request.labels.*.name, 'run-bittensor-cli-tests') }} |
| 40 | + run-cli-tests: ${{ contains(github.event.pull_request.labels.*.name, 'run-bittensor-cli-tests') }} |
41 | 41 | steps:
|
42 | 42 | - name: Check out repository
|
43 | 43 | uses: actions/checkout@v4
|
44 | 44 |
|
45 | 45 | find-e2e-tests:
|
46 | 46 | needs: check-labels
|
47 |
| - if: always() && needs.check-labels.outputs.run-sdk-tests == 'true' |
| 47 | + if: always() && needs.check-labels.outputs.run-cli-tests == 'true' |
48 | 48 | runs-on: ubuntu-latest
|
49 | 49 | outputs:
|
50 | 50 | test-files: ${{ steps.get-tests.outputs.test-files }}
|
|
70 | 70 | pull-docker-image:
|
71 | 71 | needs: check-labels
|
72 | 72 | runs-on: ubuntu-latest
|
73 |
| - if: always() && needs.check-labels.outputs.run-sdk-tests == 'true' |
| 73 | + if: always() && needs.check-labels.outputs.run-cli-tests == 'true' |
74 | 74 | steps:
|
75 | 75 | - name: Log in to GitHub Container Registry
|
76 | 76 | run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
|
|
93 | 93 | - find-e2e-tests
|
94 | 94 | - pull-docker-image
|
95 | 95 |
|
96 |
| - if: always() && needs.check-labels.outputs.run-sdk-tests == 'true' |
| 96 | + if: always() && needs.check-labels.outputs.run-cli-tests == 'true' |
97 | 97 | runs-on: ubuntu-latest
|
98 | 98 | strategy:
|
99 | 99 | fail-fast: false
|
@@ -195,7 +195,7 @@ jobs:
|
195 | 195 | run-unit-test:
|
196 | 196 | needs:
|
197 | 197 | - check-labels
|
198 |
| - if: always() && needs.check-labels.outputs.run-sdk-tests == 'true' |
| 198 | + if: always() && needs.check-labels.outputs.run-cli-tests == 'true' |
199 | 199 | runs-on: ubuntu-latest
|
200 | 200 | steps:
|
201 | 201 | - name: Check-out repository
|
|
0 commit comments