File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 - name : Set pytest markers
2020 id : pytest-markers
2121 if : ${{ ! inputs.slow-tests }}
22- run : echo slow-tests='-m "not slow"' >> "$GITHUB_OUTPUT"
22+ run : |
23+ echo slow-tests='-m "not slow"' >> "$GITHUB_OUTPUT"
24+ echo coverage-suffix='fast' >> "$GITHUB_OUTPUT"
2325
2426 - name : SCM Checkout
2527 uses : actions/checkout@v4
4042 export PROJECT_SHORT_TAG=$(poetry run -- nox -s project:get-short-tag)
4143 poetry run -- nox -s test:coverage --
4244
43- - name : Set coverage name
44- id : coverage-suffix
45- run : |
46- if [[ "${{ inputs.slow-tests }}" == "true" ]]; then
47- echo value='fast' >> "$GITHUB_OUTPUT"
48- else
49- echo value='slow' >> "$GITHUB_OUTPUT"
50- fi
51-
5245 - name : Upload Artifacts
5346 uses : actions/upload-artifact@v4.6.2
5447 with :
55- name : coverage-python${{ inputs.python-version }}-${{ steps.coverage-suffix .outputs.value }}
48+ name : coverage-python${{ inputs.python-version }}-${{ steps.pytest-markers .outputs.coverage-suffix }}
5649 path : .coverage
5750 include-hidden-files : true
You can’t perform that action at this time.
0 commit comments