Skip to content

Commit 8a9e988

Browse files
author
Roman
committed
name uses just static names
1 parent e7449a8 commit 8a9e988

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/e2e-subtensor-tests.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
- name: Find test files
3939
id: get-tests
4040
run: |
41-
# test_files=$(find tests/e2e_tests -name "test*.py" | jq -R -s -c 'split("\n") | map(select(. != ""))')
41+
test_files=$(find tests/e2e_tests -name "test*.py" | jq -R -s -c 'split("\n") | map(select(. != ""))')
4242
# keep it here for future debug
43-
test_files=$(find tests/e2e_tests -type f -name "test*.py" | grep -E 'test_(incentive|commit_weights|set_weights)\.py$' | jq -R -s -c 'split("\n") | map(select(. != ""))')
43+
# test_files=$(find tests/e2e_tests -type f -name "test*.py" | grep -E 'test_(incentive|commit_weights|set_weights)\.py$' | jq -R -s -c 'split("\n") | map(select(. != ""))')
4444
echo "::set-output name=test-files::$test_files"
4545
shell: bash
4646

@@ -64,7 +64,7 @@ jobs:
6464

6565
# Job to run tests in parallel
6666
run-e2e-test:
67-
name: ${{ steps.set-name.outputs.short-name }} / Python ${{ matrix.python-version }}
67+
name: ${{ matrix.test-file }} / Python ${{ matrix.python-version }}
6868
needs:
6969
- find-tests
7070
- pull-docker-image
@@ -79,12 +79,6 @@ jobs:
7979
test-file: ${{ fromJson(needs.find-tests.outputs.test-files) }}
8080
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
8181
steps:
82-
- name: Set short name
83-
id: set-name
84-
run: |
85-
SHORT_NAME=$(basename "${{ matrix.test-file }}")
86-
echo "short-name=$SHORT_NAME" >> $GITHUB_OUTPUT
87-
8882
- name: Check-out repository
8983
uses: actions/checkout@v4
9084

0 commit comments

Comments
 (0)