Skip to content

Commit

Permalink
Break up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Sep 24, 2023
1 parent 2f21b5d commit fff1f5b
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/dev-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
cluster.name: readux-elasticsearch
http.port: 9200
discovery.type: single-node
DATABASE_URL: postgres://user:password@localhost:5432/readux
DJANGO_ENV: test
options: >-
--health-cmd "curl http://localhost:9200/_cluster/health"
--health-interval 10s
Expand Down Expand Up @@ -81,15 +83,17 @@ jobs:
pip install pyld==1.0.5
pip install -r requirements/local.txt
- name: Test with PyTest
env:
DATABASE_URL: postgres://user:password@localhost:5432/readux
DJANGO_ENV: test
run: |
pytest apps/iiif/
pytest apps/ingest/
pytest apps/readux/
pytest apps/users/
- name: Test IIIF
run: pytest apps/iiif/

- name: Test Ingest
run: pytest apps/ingest/

- name: Test Readux
run: pytest apps/readux/

- name: Test Users
run: pytest apps/users/

- name: Test Webpack build
run: |
Expand Down

0 comments on commit fff1f5b

Please sign in to comment.