We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9cf5ece + 52c8b05 commit 38806edCopy full SHA for 38806ed
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,29 @@
1
+name: Python package
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ # You can use PyPy versions in python-version.
11
+ # For example, pypy-2.7 and pypy-3.8
12
+ matrix:
13
+ python-version: ["3.8", "3.9", "3.10"]
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v3
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+ # You can test your matrix by printing the current Python version
22
+ - name: Display Python version
23
+ run: python -c "import sys; print(sys.version)"
24
+ - name: install deps
25
+ run: python setup.py install
26
+ - name: install dev deps
27
+ run: pip install pytest
28
+ - name: test
29
+ run: python -m unittest
0 commit comments