We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bcb41b commit f9d4900Copy full SHA for f9d4900
.github/workflows/unittests.yaml
@@ -1,16 +1,19 @@
1
-name: Continuous Integration
2
-on: [push]
3
-jobs:
4
- build:
5
- runs-on: ubuntu-latest
6
- steps:
7
- - uses: actions/checkout@v2
8
- - name: Set up Python
9
- uses: actions/setup-python@v2
10
- with:
11
- python-version: 3.10.0
12
- architecture: x64
13
- - name: Install dependencies
14
- run: pip install -r requirements.txt
15
- - name: Run Tests
16
- run: python -m pytest
+name: Unit Tests
+runs-on: ubuntu-latest
+defaults:
+ run:
+ shell: bash
+ working-directory: app
+steps:
+ - uses: actions/checkout@v3
+ - name: Install poetry
+ run: pipx install poetry
+ - uses: actions/setup-python@v3
+ with:
+ python-version: "3.10"
+ cache: "poetry"
+ - run: poetry install
+ - name: Run tests
17
+ run: |
18
+ make mypy
19
+ make test
0 commit comments