Skip to content

Commit c88e814

Browse files
committed
Fixed github workflow
1 parent e46acb2 commit c88e814

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
pull_request:
77
branches: [ "**" ]
88

9-
jobs:
109

1110
jobs:
1211
ci:

.github/workflows/test.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,29 @@ on:
66
pull_request:
77
branches: [ "**" ]
88

9+
10+
name: CI Tests
11+
on: [push, pull_request]
12+
913
jobs:
1014
ci:
1115
strategy:
1216
fail-fast: false
1317
matrix:
14-
python-version: [3.8, 3.9, 3.10, 3.11]
18+
python-version: [3.8, 3.9]
1519
poetry-version: [1.3.1]
1620
os: [ubuntu-latest]
1721
runs-on: ${{ matrix.os }}
1822
steps:
19-
- uses: actions/checkout@v4
20-
- uses: actions/setup-python@v5
23+
- uses: actions/checkout@v2
24+
- uses: actions/setup-python@v2
2125
with:
2226
python-version: ${{ matrix.python-version }}
23-
- name: Cache Poetry dependencies
24-
uses: actions/cache@v4
25-
with:
26-
path: |
27-
~/.cache/pypoetry
28-
~/.cache/pip
29-
key: ${{ runner.os }}-poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
30-
restore-keys: |
31-
${{ runner.os }}-poetry-${{ matrix.python-version }}-
32-
- name: Install Poetry
27+
- name: Run image
3328
uses: abatilo/[email protected]
3429
with:
3530
poetry-version: ${{ matrix.poetry-version }}
3631
- name: Install dependencies
3732
run: poetry install
3833
- name: Run tests
39-
run: poetry run make test
34+
run: poetry run make test

0 commit comments

Comments
 (0)