We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3436a9c commit 3bca4e9Copy full SHA for 3bca4e9
.github/workflows/python.yml
@@ -0,0 +1,37 @@
1
+name: Python
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: [ "3.10", "3.11", "3.12" ]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Set up Python ${{ matrix.python-version }}
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
24
+ - name: Install Poetry
25
+ uses: snok/install-poetry@v1
26
27
+ virtualenvs-create: true
28
+ virtualenvs-in-project: true
29
30
+ - name: Install dependencies
31
+ run: poetry install --no-interaction
32
33
+ - name: Test
34
+ run: poetry run pytest
35
36
+ - name: Build
37
+ run: poetry build
0 commit comments