Skip to content

Commit

Permalink
Merge pull request #32 from GertjanBisschop/modify-workflow
Browse files Browse the repository at this point in the history
modify git actions
  • Loading branch information
GertjanBisschop authored Jan 23, 2024
2 parents 6606bbf + 0f800d4 commit d0f3cd0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ jobs:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
- uses: pre-commit/[email protected]
with:
cache: 'pip'

build:
name: Python Test
Expand All @@ -40,4 +45,4 @@ jobs:
pip install -r requirements/dev.txt
- name: Test with pytest
run: |
pytest -xvs -n0
pytest -xvs
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ repos:
rev: 23.9.1
hooks:
- id: black
exclude: ^legacy/
exclude: ^(legacy/|docs/)
language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
exclude: ^legacy/
exclude: ^(legacy/|docs/)
args: [--config=.flake8]
additional_dependencies: ["flake8-bugbear==23.9.16", "flake8-builtins==2.0.1"]

0 comments on commit d0f3cd0

Please sign in to comment.