From 5dd4cc466f5d7c0e197e5666681d4b9b49bed043 Mon Sep 17 00:00:00 2001 From: Kirill Pinchuk Date: Mon, 5 Feb 2024 17:09:20 +0300 Subject: [PATCH] ci: add github actions --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ tox.ini | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..61d7619 --- /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 + - 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 =