Skip to content

Commit

Permalink
test: try different docker compose action
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Aug 2, 2024
1 parent 9d6cd79 commit 9ba23b0
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- master

jobs:

lint:
runs-on: ubuntu-latest
steps:
Expand All @@ -26,34 +25,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: adambirds/docker-compose-action@v1.3.0
- uses: hoverkraft-tech/compose-action@v2.0.1
with:
compose-file: |
docker-compose.yml
docker-compose.override.yml
services: |
django
celery
postgres
minio
rabbitmq
test-container: django
test-command: "tox -e test"
- run: |
docker compose exec django tox -e test
check-migrations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: adambirds/docker-compose-action@v1.3.0
- uses: hoverkraft-tech/compose-action@v2.0.1
with:
compose-file: |
docker-compose.yml
docker-compose.override.yml
services: |
django
celery
postgres
minio
rabbitmq
test-container: django
test-command: "tox -e check-migrations"
- run: |
docker compose exec django tox -e check-migrations

0 comments on commit 9ba23b0

Please sign in to comment.