File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments