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 d15938d commit 9e8a025Copy full SHA for 9e8a025
.github/workflow/test.yaml
@@ -0,0 +1,27 @@
1
+name: Run tests
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
9
+ strategy:
10
+ matrix:
11
+ python-version: [ "2.7", "3.9", "3.10" ]
12
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Set up Python ${{ matrix.python-version }}
16
+ uses: actions/setup-python@v4
17
+ with:
18
+ python-version: ${{ matrix.python-version }}
19
+ - name: Install dependencies
20
+ run: |
21
+ python -m pip install --upgrade pip
22
+ pip install tox flake8 pytest
23
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
24
+ if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
25
+ - name: Test with tox
26
27
+ tox
.travis.yml
0 commit comments