Skip to content

Commit 897f28c

Browse files
oakhan3Omar Ali Khan
andauthored
fix: Correct github actions test workflow test result paths and dependencies. (#223)
* fix: Correct github actions test workflow test result paths. * fix: Refresh outdated hashes and upgrade poetry version. --------- Co-authored-by: Omar Ali Khan <omar.khan@anvilogic.com>
1 parent 4496217 commit 897f28c

File tree

3 files changed

+583
-504
lines changed

3 files changed

+583
-504
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Run image
2727
uses: abatilo/actions-poetry@v2.0.0
2828
with:
29-
poetry-version: 1.2.2
29+
poetry-version: 1.5.1
3030

3131
- name: Publish
3232
env:

.github/workflows/test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ concurrency:
1414

1515
jobs:
1616
test:
17-
runs-on: ubuntu-latest
17+
# Ubuntu 22 supports python3.7, ubuntu-latest does not and so we need to use an old frozen version.
18+
# Until we decide to drop support for python3.7
19+
runs-on: ubuntu-22.04
1820
strategy:
1921
fail-fast: false
2022
matrix:
2123
# Test our minimum version bound, the highest version available,
2224
# and something in the middle (i.e. what gets run locally).
23-
python-version: ["3.7", "3.9", "3.12"]
25+
python-version: ["3.7.17", "3.9", "3.12"]
2426
pytest-asyncio-version: ["0.16.0", "0.19.0"]
2527
sqlalchemy-version: ["1.3.0", "1.4.0", "2.0.0"]
2628

@@ -35,7 +37,7 @@ jobs:
3537
- name: Install poetry
3638
uses: abatilo/actions-poetry@v2.0.0
3739
with:
38-
poetry-version: 1.2.2
40+
poetry-version: 1.5.1
3941

4042
- name: Set up cache
4143
uses: actions/cache@v3
@@ -68,7 +70,7 @@ jobs:
6870
- name: Store test result artifacts
6971
uses: actions/upload-artifact@v4
7072
with:
71-
path: coverage-${{ matrix.python-version }}-${{ matrix.pytest-asyncio-version }-${{ matrix.sqlalchemy-version }}}.xml
73+
path: coverage-${{ matrix.python-version }}-${{ matrix.pytest-asyncio-version }}-${{ matrix.sqlalchemy-version }}.xml
7274

7375
- name: Coveralls
7476
env:
@@ -101,7 +103,7 @@ jobs:
101103
- name: Install poetry
102104
uses: abatilo/actions-poetry@v2.0.0
103105
with:
104-
poetry-version: 1.2.2
106+
poetry-version: 1.5.1
105107

106108
- name: Set up cache
107109
uses: actions/cache@v3
@@ -123,7 +125,7 @@ jobs:
123125
- name: Store test result artifacts
124126
uses: actions/upload-artifact@v4
125127
with:
126-
path: coverage-${{ matrix.python-version }}-${{ matrix.pytest-asyncio-version }-${{ matrix.sqlalchemy-version }}}-asyncpg.xml
128+
path: coverage-${{ matrix.python-version }}-${{ matrix.pytest-asyncio-version }}-${{ matrix.sqlalchemy-version }}-asyncpg.xml
127129

128130
- name: Coveralls
129131
env:

0 commit comments

Comments
 (0)