Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
github actions: build index before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DonHaul authored and drjova committed Aug 14, 2024
1 parent 343f7e3 commit c47905b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test-backoffice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
docker run
--pull always
--network=host
--entrypoint poetry
--env DJANGO_SETTINGS_MODULE=config.settings.test
--env DISABLE_SECURITY_PLUGIN=true
--env POSTGRES_DB=inspire
Expand All @@ -72,4 +71,4 @@ jobs:
--env POSTGRES_HOST=127.0.0.1
--env OPENSEARCH_HOST=127.0.0.1:9200
registry.cern.ch/cern-sis/inspire/backoffice@${{ needs.build.outputs.image-id }}
run pytest
sh -c "poetry run python manage.py opensearch index create --force && poetry run pytest"

0 comments on commit c47905b

Please sign in to comment.