Skip to content

Commit f6ca57a

Browse files
jmchiltonclaude
andcommitted
Replace --structured_data_report_file with pytest-json-report flags
Use --json-report --json-report-path=PATH after -- instead of custom arg. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ec60d5c commit f6ca57a

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

.github/workflows/api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
path: 'galaxy root/.venv'
6767
key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api
6868
- name: Run tests
69-
run: ./run_tests.sh --coverage --skip_flakey_fails -api lib/galaxy_test/api --structured_data_report_file run_api_tests.json -- --num-shards=2 --shard-id=${{ matrix.chunk }}
69+
run: ./run_tests.sh --coverage --skip_flakey_fails -api lib/galaxy_test/api -- --num-shards=2 --shard-id=${{ matrix.chunk }} --json-report --json-report-path=run_api_tests.json
7070
working-directory: 'galaxy root'
7171
- uses: codecov/codecov-action@v5
7272
with:

.github/workflows/cwl_conformance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
path: 'galaxy root/.venv'
5959
key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api
6060
- name: Run tests
61-
run: ./run_tests.sh --coverage --skip_flakey_fails -cwl lib/galaxy_test/api/cwl --structured_data_report_file run_cwl_tests.json -- -m "${{ matrix.marker }} and ${{ matrix.conformance-version }}"
61+
run: ./run_tests.sh --coverage --skip_flakey_fails -cwl lib/galaxy_test/api/cwl -- -m "${{ matrix.marker }} and ${{ matrix.conformance-version }}" --json-report --json-report-path=run_cwl_tests.json
6262
working-directory: 'galaxy root'
6363
- uses: codecov/codecov-action@v5
6464
with:

.github/workflows/framework_tools.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
path: 'galaxy root/.venv'
6363
key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework
6464
- name: Run tests
65-
run: GALAXY_TEST_USE_LEGACY_TOOL_API="${{ matrix.use-legacy-api }}" ./run_tests.sh --coverage --framework-tools --structured_data_report_file run_framework_tests.json
65+
run: GALAXY_TEST_USE_LEGACY_TOOL_API="${{ matrix.use-legacy-api }}" ./run_tests.sh --coverage --framework-tools -- --json-report --json-report-path=run_framework_tests.json
6666
working-directory: 'galaxy root'
6767
- uses: codecov/codecov-action@v5
6868
with:

.github/workflows/framework_workflows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
path: 'galaxy root/.venv'
6363
key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework
6464
- name: Run tests
65-
run: ./run_tests.sh --coverage --framework-workflows --structured_data_report_file run_framework_workflows_tests.json
65+
run: ./run_tests.sh --coverage --framework-workflows -- --json-report --json-report-path=run_framework_workflows_tests.json
6666
working-directory: 'galaxy root'
6767
- uses: codecov/codecov-action@v5
6868
with:

.github/workflows/integration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: Run tests
7575
run: |
7676
. .ci/minikube-test-setup/start_services.sh
77-
./run_tests.sh --coverage -integration test/integration --structured_data_report_file run_integration_tests.json -- --num-shards=4 --shard-id=${{ matrix.chunk }}
77+
./run_tests.sh --coverage -integration test/integration -- --num-shards=4 --shard-id=${{ matrix.chunk }} --json-report --json-report-path=run_integration_tests.json
7878
working-directory: 'galaxy root'
7979
- uses: codecov/codecov-action@v5
8080
with:

.github/workflows/integration_selenium.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
key: galaxy-static-${{ needs.build-client.outputs.commit-id }}
7575
path: 'galaxy root/static'
7676
- name: Run tests
77-
run: ./run_tests.sh --coverage -integration test/integration_selenium --structured_data_report_file run_integration_tests.json
77+
run: ./run_tests.sh --coverage -integration test/integration_selenium -- --json-report --json-report-path=run_integration_tests.json
7878
working-directory: 'galaxy root'
7979
- uses: codecov/codecov-action@v5
8080
with:

.github/workflows/main_tools.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
path: 'galaxy root/.venv'
5555
key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework
5656
- name: Run tests
57-
run: ./run_tests.sh --coverage --main_tools --structured_data_report_file run_framework_tests.json
57+
run: ./run_tests.sh --coverage --main_tools -- --json-report --json-report-path=run_framework_tests.json
5858
working-directory: 'galaxy root'
5959
- uses: codecov/codecov-action@v5
6060
with:

.github/workflows/playwright.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
key: galaxy-static-${{ needs.build-client.outputs.commit-id }}
7979
path: 'galaxy root/static'
8080
- name: Run tests
81-
run: ./run_tests.sh --coverage -playwright lib/galaxy_test/selenium --structured_data_report_file run_playwright_tests.json -- --num-shards=3 --shard-id=${{ matrix.chunk }}
81+
run: ./run_tests.sh --coverage -playwright lib/galaxy_test/selenium -- --num-shards=3 --shard-id=${{ matrix.chunk }} --json-report --json-report-path=run_playwright_tests.json
8282
working-directory: 'galaxy root'
8383
- uses: codecov/codecov-action@v5
8484
with:

.github/workflows/selenium.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
key: galaxy-static-${{ needs.build-client.outputs.commit-id }}
7575
path: 'galaxy root/static'
7676
- name: Run tests
77-
run: ./run_tests.sh --coverage -selenium lib/galaxy_test/selenium --structured_data_report_file run_selenium_tests.json -- --num-shards=3 --shard-id=${{ matrix.chunk }}
77+
run: ./run_tests.sh --coverage -selenium lib/galaxy_test/selenium -- --num-shards=3 --shard-id=${{ matrix.chunk }} --json-report --json-report-path=run_selenium_tests.json
7878
working-directory: 'galaxy root'
7979
- uses: codecov/codecov-action@v5
8080
with:

.github/workflows/toolshed.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
playwright install
7171
working-directory: 'galaxy root'
7272
- name: Run tests
73-
run: ./run_tests.sh -toolshed --structured_data_report_file run_toolshed_tests.json
73+
run: ./run_tests.sh -toolshed -- --json-report --json-report-path=run_toolshed_tests.json
7474
env:
7575
TOOL_SHED_TEST_INSTALL_CLIENT: ${{ matrix.test-install-client }}
7676
TOOL_SHED_API_VERSION: ${{ matrix.shed-api }}

0 commit comments

Comments
 (0)