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 8be56cb commit aad8e51Copy full SHA for aad8e51
.github/workflows/test_package.yml
@@ -0,0 +1,33 @@
1
+name: Test suite
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
7
+jobs:
8
+ build:
9
+ runs-on: ${{ matrix.os }}
10
11
+ strategy:
12
+ fail-fast: true
13
+ matrix:
14
+ os: [ubuntu-latest, macos-11, windows-latest]
15
+ python-version: [3.9]
16
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v3
20
+ - name: Set up Python ${{ matrix.python-version }}
21
+ uses: actions/setup-python@v4
22
+ with:
23
+ python-version: ${{ matrix.python-version }}
24
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install pytest
29
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30
31
+ - name: Run pytest tests
32
33
+ pytest
0 commit comments