summaryrefslogtreecommitdiff
path: root/.github/workflows/run_tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/run_tests.yml')
-rw-r--r--.github/workflows/run_tests.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
new file mode 100644
index 0000000..7664a95
--- /dev/null
+++ b/.github/workflows/run_tests.yml
@@ -0,0 +1,22 @@
+name: Run tests
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ max-parallel: 4
+ matrix:
+ python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install dependencies
+ run: |
+ .github/workflows/install-deps.sh
+ - name: Run tests
+ run: |
+ pytest