Skip to content

Commit

Permalink
Making available pytest and flake8 for Action only
Browse files Browse the repository at this point in the history
  • Loading branch information
paulstretenowich committed Nov 11, 2024
1 parent 0a1100d commit 5229b85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/PyTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install project
- name: Install pip, pytest and flake8
run: |
pdm install --prod --no-lock --no-editable
python -m ensurepip --upgrade
pip3 install --upgrade pip
pip install flake8 pytest
- name: Run Tests
run: |
pdm run -v pytest tests
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ dependencies = [
"alembic-utils",
"alembic-postgresql-enum",
"gunicorn>=20.1.0",
"sqlalchemy-json>=0.5.0",
"pytest>=8.0.0",
"sqlalchemy-json>=0.5.0"
]

[project.urls]
Expand Down

0 comments on commit 5229b85

Please sign in to comment.