Skip to content

Commit

Permalink
refactored github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alanisaac committed Oct 11, 2023
1 parent d04f323 commit 80ba7cc
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/test-rules-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Check style
run: |
isort --check .
black --check .
make lint
mypy:
runs-on: ubuntu-latest
strategy:
Expand All @@ -40,7 +39,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Check typing
run: |
mypy .
make mypy
pytest:
runs-on: ubuntu-latest
strategy:
Expand All @@ -55,19 +54,4 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
pytest
pydocstyle:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: "./.github/actions/setup-rules-engine"
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
pydocstyle .
make test

0 comments on commit 80ba7cc

Please sign in to comment.