We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e667ba commit 33e1e40Copy full SHA for 33e1e40
.github/workflows/test.yml
@@ -0,0 +1,31 @@
1
+name: Run Tests
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v3
16
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v4
19
+ with:
20
+ python-version: "3.9"
21
22
+ - name: Install Poetry
23
+ run: |
24
+ curl -sSL https://install.python-poetry.org | python3 -
25
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
26
27
+ - name: Install dependencies
28
+ run: poetry install
29
30
+ - name: Run tests
31
+ run: poetry run pytest
0 commit comments