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 e41f310 commit 9771a2dCopy full SHA for 9771a2d
.github/workflows/python-package.yml
@@ -0,0 +1,34 @@
1
+# This workflow will install Python dependencies, run tests
2
+
3
+name: Packaging V1
4
5
+on:
6
+ push:
7
+ branches: [ "main" ]
8
+ pull_request:
9
10
11
+jobs:
12
+ build:
13
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ python-version: [ "3.10", "3.11"]
19
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - name: Set up Python ${{ matrix.python-version }}
23
+ uses: actions/setup-python@v3
24
+ with:
25
+ python-version: ${{ matrix.python-version }}
26
+ - name: Install dependencies
27
+ run: |
28
29
+ python -m pip install pytest
30
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31
32
+ - name: Test with pytest
33
34
+ pytest
0 commit comments