summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-10-10 18:09:29 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-10-10 19:00:21 -0400
commitea912cf6598bd882a723518eb5cc01f1c8397094 (patch)
tree230c405b4e06841c08b11f8b26af31656f159a41
parent678e1a973a0139c0e0ab40395dfbada6c3ea72b9 (diff)
downloadpytest-runner-ea912cf6598bd882a723518eb5cc01f1c8397094.tar.gz
Add workflows for running tests. Ref jaraco/skeleton#24.
-rw-r--r--.github/workflows/main.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..a189798
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,22 @@
+name: Main
+
+on: [push, pull_request]
+
+jobs:
+ test:
+ strategy:
+ matrix:
+ python: [3.6, 3.7, 3.8]
+ platform: [ubuntu-latest, macos-latest, windows-latest]
+ runs-on: ${{ matrix.platform }}
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python }}
+ - name: Install tox
+ run: |
+ python -m pip install tox
+ - name: Run tests
+ run: tox