From 0334e749961f3c4ed058d4ec08f7d10e1be2b3f5 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Wed, 21 Apr 2021 01:55:03 +0200 Subject: [PATCH] Add Github Actions workflow to run tox --- .github/workflows/run-tox.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/run-tox.yml diff --git a/.github/workflows/run-tox.yml b/.github/workflows/run-tox.yml new file mode 100644 index 0000000..8f78202 --- /dev/null +++ b/.github/workflows/run-tox.yml @@ -0,0 +1,25 @@ +name: Run Tox + +on: + push: + branches: + - master + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python: [2.7, 3.6, 3.7, 3.8, 3.9] + + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Install Tox + run: pip install tox + - name: Run Tox + run: tox -e py