Skip to content

Commit

Permalink
ci: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cybergrind committed Feb 5, 2024
1 parent 97caf22 commit 5dd4cc4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist =
py36,
py37,
py38,
py38-custom
py311,

[testenv]
setenv =
Expand All @@ -14,6 +14,7 @@ deps =
pytest
pytest-cov
ipdb
requests
.[log_requests]

commands =
Expand Down

0 comments on commit 5dd4cc4

Please sign in to comment.