Skip to content

Commit

Permalink
CI: Lint and test
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Jul 31, 2024
1 parent 05715a6 commit 82ea130
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Lint and test drakpdb"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: CERT-Polska/lint-python-action@v2
with:
python-version: 3.8
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: 'pip'
- run: pip install . -r tests/requirements.txt
- run: pytest

0 comments on commit 82ea130

Please sign in to comment.