Skip to content

Commit 44ba140

Browse files
committed
Change CI
1 parent 88dd104 commit 44ba140

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/main.yaml

+13-9
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,36 @@ on:
1111
jobs:
1212
test-backend:
1313
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.11", "3.12"]
17+
1418
steps:
1519
- name: Checkout
1620
uses: actions/checkout@v4
1721
- name: Set up Python
1822
uses: actions/setup-python@v5
1923
with:
20-
python-version: "3.12"
24+
python-version: ${{matrix.python-version}}
2125

2226
- name: Install Poetry
2327
run: curl -sSL https://install.python-poetry.org | python3 - --version 1.7.1
2428

2529
- name: Add Poetry to PATH
2630
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
2731

28-
- name: Install dependencies
32+
- name: Install Dependencies
2933
run: poetry install
3034
working-directory: backend
31-
32-
- name: Check typing
33-
run: poetry run mypy .
35+
36+
- name: Check Type Annotations
37+
run: poetry run mypy .
3438
working-directory: backend
35-
36-
- name: Run lint
39+
40+
- name: Run Code Linter
3741
run: poetry run task lint
3842
working-directory: backend
3943

40-
- name: Run tests
44+
- name: Execute Unit Tests
4145
run: poetry run task test
42-
working-directory: backend
46+
working-directory: backend

0 commit comments

Comments
 (0)