From e0082599151934c662df1f8d4f62c821eb36977e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 22 Sep 2022 09:34:44 +0200 Subject: [PATCH 1/2] GitHub Action to run tox --- .github/workflows/tox.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/tox.yml diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml new file mode 100644 index 0000000..d906e73 --- /dev/null +++ b/.github/workflows/tox.yml @@ -0,0 +1,12 @@ +name: tox +on: [push, pull_request] +jobs: + tox: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - run: pip install tox + - run: tox -e docs From a4bf370692113411b62a27dab57afe905f008280 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 22 Sep 2022 09:36:24 +0200 Subject: [PATCH 2/2] tox -e py --- .github/workflows/tox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index d906e73..118351c 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -9,4 +9,4 @@ jobs: with: python-version: 3.x - run: pip install tox - - run: tox -e docs + - run: tox -e py