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 6f19f99 commit 0097d8dCopy full SHA for 0097d8d
.github/workflows/tests.yaml
@@ -0,0 +1,31 @@
1
+name: Python package
2
+
3
+on:
4
+ - push
5
+ - pull_request
6
7
+jobs:
8
+ build:
9
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ python-version: ["3.11", "3.12"]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: mamba-org/setup-micromamba@v2
19
+ with:
20
+ environment-file: environment.yml
21
+ init-shell: >-
22
+ bash
23
+ cache-environment: false
24
+ create-args: python=${{ matrix.python-version }}
25
+ post-cleanup: 'all'
26
+ - name: Print Python version
27
+ run: |
28
+ python --version
29
+ - name: Run pytest
30
31
+ pytest
0 commit comments