diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bb91224..4b00143a 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,8 @@ jobs: run: just build - name: Pull other images run: just pull + - name: Start ancillary services + run: just start-ancillary - name: Run unit tests run: just test-unit - name: Run integration tests diff --git a/justfile b/justfile index b533ff31..551e0f53 100644 --- a/justfile +++ b/justfile @@ -4,7 +4,7 @@ compose_file := 'docker-compose_just.yml' dev: start attach # Start the ChRIS backend in development mode. -start: start-dependencies migrate up +start: start-ancillary migrate up # Start services (without running database migrations). up: (docker-compose '--profile=cube up -d') @@ -40,10 +40,10 @@ test-all: test-unit test-integration test-unit: (run 'python manage.py test --force-color --exclude-tag integration') # Run integration tests. -test-integration: (run 'python manage.py test --force-color --tag integration') +test-integration: start-ancillary (run 'python manage.py test --force-color --tag integration') # Start dependency services. -start-dependencies: (docker-compose 'up -d') +start-ancillary: (docker-compose 'up -d') # Stop services. down: (docker-compose '--profile=cube --profile=tools down')