We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa4457a commit 7b49848Copy full SHA for 7b49848
.github/workflows/main.yaml
@@ -0,0 +1,27 @@
1
+name: Test Act
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ test-backend:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v5
16
+ with:
17
+ python-version: "3.12"
18
+ - name: Install Poetry
19
+ run: curl -sSL https://install.python-poetry.org | python3 -
20
+ - name: Add Poetry to PATH
21
+ run: echo "$HOME/.local/bin" >> $GITHUB_PATH
22
+ - name: Install dependencies
23
+ run: poetry install
24
+ working-directory: backend
25
+ - name: Run tests
26
+ run: poetry run pytest
27
0 commit comments