diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..14662e8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: tests + +on: + push: + branches: + - '*' + +jobs: + run-tests: + runs-on: ubuntu-20.04 + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: | + 3.11 + 3.8 + 3.7 + 3.6 + - run: pip3 install tox hatch + - run: tox diff --git a/tox.ini b/tox.ini index 0adfa82..be170ef 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ envlist = py36, py37, py38, - py38-custom + py311, [testenv] setenv = @@ -14,6 +14,7 @@ deps = pytest pytest-cov ipdb + requests .[log_requests] commands =