multiple-test-python-versions
dgtlmoon 6 months ago
parent 5037e66ec1
commit de955a54bd

@ -18,20 +18,20 @@ jobs:
test-application-3-10:
needs: lint-code
uses: ./.github/workflows/reusable-workflow.yml
uses: ./.github/workflows/test-stack-reusable-workflow.yml
with:
python-version: '3.11'
test-application-3-11:
needs: lint-code
uses: ./.github/workflows/reusable-workflow.yml
uses: ./.github/workflows/test-stack-reusable-workflow.yml
with:
python-version: '3.11'
test-application-3-12:
needs: lint-code
uses: ./.github/workflows/reusable-workflow.yml
uses: ./.github/workflows/test-stack-reusable-workflow.yml
with:
python-version: '3.12'

@ -12,7 +12,6 @@ on:
jobs:
test-application:
runs-on: ubuntu-latest
needs: lint-code
steps:
- uses: actions/checkout@v4
@ -213,12 +212,12 @@ jobs:
if: always()
run: |
mkdir output-logs
docker logs test-cdio-basic-tests > output-logs/test-cdio-basic-tests-stdout.txt
docker logs test-cdio-basic-tests 2> output-logs/test-cdio-basic-tests-stderr.txt
docker logs test-cdio-basic-tests > output-logs/test-cdio-basic-tests-stdout-${{ env.PYTHON_VERSION }}.txt
docker logs test-cdio-basic-tests 2> output-logs/test-cdio-basic-tests-stderr-${{ env.PYTHON_VERSION }}.txt
- name: Store container log
if: always()
uses: actions/upload-artifact@v4
with:
name: test-cdio-basic-tests-output
name: test-cdio-basic-tests-output-py${{ env.PYTHON_VERSION }}
path: output-logs

Loading…
Cancel
Save