Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
- Loading branch information
1 parent
b690c24
commit 30d504d
Showing
3 changed files
with
23 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Check and test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: pip install poetry | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.8 | ||
cache: poetry | ||
- run: poetry install | ||
- run: poetry run flake8 | ||
- run: poetry run pytest | ||
- uses: coverallsapp/github-action@v2 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters