Skip to content

Commit

Permalink
Merge pull request #48 from OpenGeoscience/ci-action
Browse files Browse the repository at this point in the history
Change docker compose GH Action
  • Loading branch information
annehaley authored Aug 19, 2024
2 parents fbda461 + 05442e7 commit f6f7e57
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 f6f7e57

Please sign in to comment.