Skip to content

Commit

Permalink
Removed setup.py and updated test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzbrand committed Oct 23, 2024
1 parent 9b2034b commit 958975e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 54 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install gettext
run: sudo apt-get install gettext
- uses: actions/setup-python@v5.0.0
- uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: "1.8.3"
- uses: abatilo/actions-poetry@v3
- name: Install dependencies
id: install-deps
run: |
Expand All @@ -45,7 +43,13 @@ jobs:
- name: Lint
if: success() || failure() && steps.install-deps.outcome == 'success'
run: |
poetry run ruff check
poetry run ruff check
- name: Run migrations
if: success() || failure() && steps.install-deps.outcome == 'success'
run: |
poetry run ./manage.py makemigrations registrations changes\
eventstore --dry-run | grep 'No changes detected' || (echo 'There\
are changes which require migrations.' && exit 1)
- name: Run tests
if: success() || failure() && steps.install-deps.outcome == 'success'
run: |
Expand Down
49 changes: 0 additions & 49 deletions setup.py

This file was deleted.

0 comments on commit 958975e

Please sign in to comment.