Skip to content

Commit 6b7358a

Browse files
authored
Merge pull request #71 from erezsh/fix_gh_actions
Update github actions
2 parents fe6f217 + f6032ec commit 6b7358a

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/tests.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,30 @@ name: Tests
22
on: [push, pull_request]
33

44
jobs:
5-
build:
6-
runs-on: ubuntu-20.04 # See https://github.com/actions/setup-python/issues/544
5+
test:
6+
runs-on: ubuntu-22.04
77
strategy:
8+
fail-fast: false
89
matrix:
9-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3"]
10+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.10"]
1011

1112
steps:
12-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
14+
1315
- name: Set up Python ${{ matrix.python-version }}
14-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v5
1517
with:
1618
python-version: ${{ matrix.python-version }}
19+
1720
- name: Install Poetry
18-
run: pip install poetry
19-
- name: Install Dependencies
20-
run: poetry install
21+
uses: snok/install-poetry@v1
22+
with:
23+
version: 1.8.2
24+
25+
- name: Install dependencies
26+
run: |
27+
poetry install --no-interaction
28+
2129
- name: Run tests
2230
run: |
2331
poetry run pytest

0 commit comments

Comments
 (0)