Skip to content

Commit 07b89a1

Browse files
fix: py39 unit tests (#176)
* fix: py39 unit tests * chore: update jobs references in wf * chore: align naming of cache keys in pip cache step
1 parent f640ae4 commit 07b89a1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ jobs:
443443
name: test-results-unit-python_${{ matrix.python-version }}
444444
path: test-results/*
445445

446-
run-unit-tests-311:
446+
run-unit-tests-3_9:
447447
name: test-unit-python3-${{ matrix.python-version }}
448448
if: ${{ needs.test-inventory.outputs.unit == 'true' }}
449449
runs-on: ubuntu-latest
@@ -453,7 +453,7 @@ jobs:
453453
fail-fast: false
454454
matrix:
455455
python-version:
456-
- "3.11"
456+
- "3.9"
457457
permissions:
458458
actions: read
459459
deployments: read
@@ -629,7 +629,7 @@ jobs:
629629
path: build/package/deployment**
630630
if: ${{ !cancelled() }}
631631

632-
build-311:
632+
build-3_9:
633633
runs-on: ubuntu-latest
634634
needs:
635635
- setup-workflow
@@ -639,11 +639,11 @@ jobs:
639639
- lint
640640
- review_secrets
641641
- semgrep
642-
- run-unit-tests-311
642+
- run-unit-tests-3_9
643643
- fossa-scan
644644
if: |
645645
always() &&
646-
(needs.run-unit-tests-311.result == 'success' || needs.run-unit-tests-311.result == 'skipped')
646+
(needs.run-unit-tests-3_9.result == 'success' || needs.run-unit-tests-3_9.result == 'skipped')
647647
permissions:
648648
contents: write
649649
packages: read
@@ -656,7 +656,7 @@ jobs:
656656
- name: Setup python
657657
uses: actions/setup-python@v4
658658
with:
659-
python-version: 3.11
659+
python-version: 3.9
660660
- name: create requirements file for pip
661661
run: |
662662
if [ -f "poetry.lock" ]
@@ -683,9 +683,9 @@ jobs:
683683
uses: actions/cache@v3
684684
with:
685685
path: ${{ steps.pip-cache.outputs.dir }}
686-
key: ${{ runner.os }}-pip-python311-${{ hashFiles('requirements_dev.txt') }}
686+
key: ${{ runner.os }}-pip-python3_9-${{ hashFiles('requirements_dev.txt') }}
687687
restore-keys: |
688-
${{ runner.os }}-pip-python311
688+
${{ runner.os }}-pip-python3_9
689689
- run: pip install -r requirements_dev.txt
690690
- id: semantic
691691
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)