Skip to content

Commit

Permalink
Refactor github action for code test
Browse files Browse the repository at this point in the history
Signed-off-by: DataOmbudsman <data.ombudsman@mailbox.org>
  • Loading branch information
DataOmbudsman committed Aug 27, 2024
1 parent 42d2315 commit 24bbc6b
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Run lint and tests on Python 3.10
name: Test code with tests on Python 3.10

on:
push:
Expand All @@ -28,11 +28,13 @@ jobs:
python -m pip install --upgrade pip
curl -sSL https://install.python-poetry.org | python3 -
poetry install
- name: Test with pytest
run: |
poetry run make test
poetry run make test-slow
- name: Lint
run: |
poetry run make lint
poetry run make isort-check
- name: Test
run: |
poetry run make test
- name: Slow test
run: |
poetry run make test-slow

0 comments on commit 24bbc6b

Please sign in to comment.