Skip to content

Commit

Permalink
add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
brunotoshio committed Oct 7, 2023
1 parent 9a9258f commit 0b12ef4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests

on:
push:
branches: [ master ]
pull_request:

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: pip install tox
- name: Run tox
run: tox -e py
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,3 @@ test:
.PHONY: black
black:
poetry run black .

.PHONY: pre
pre:
poetry run pre-commit run --all-files

0 comments on commit 0b12ef4

Please sign in to comment.