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

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

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

Loading…
Cancel
Save