We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 897aade + f51bd14 commit 772ae36Copy full SHA for 772ae36
2 files changed
.github/workflows/build.yaml
@@ -0,0 +1,32 @@
1
+name: Build & Test
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+jobs:
8
+ build-and-test:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ python-version:
13
+ - "3.7"
14
+ - "3.8"
15
+ - "3.9"
16
+ - "3.10"
17
+ - "3.11"
18
+ steps:
19
+ - name: Check out code
20
+ uses: actions/checkout@v2
21
+ - name: Set up Python ${{ matrix.python-version }}
22
+ uses: actions/setup-python@v2
23
+ with:
24
+ python-version: ${{ matrix.python-version }}
25
+ - name: Build package
26
+ run: python setup.py build
27
+ - name: Install package
28
+ run: python setup.py install
29
+ - name: Install coveralls
30
+ run: sudo pip install coveralls
31
+ - name: Run tests
32
+ run: sudo PATH=$PATH coverage run setup.py test
.travis.yml
0 commit comments