Skip to content

Commit

Permalink
🔨🧪 add service test
Browse files Browse the repository at this point in the history
  • Loading branch information
MemoOlv committed Jul 17, 2024
1 parent a83635f commit c84b9d8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,25 @@ jobs:
verbose: true
- name: Evalúa resistencia a mutaciones
run: docker run islasgeci/api_caller:latest make mutants
test-service:
needs: build-image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run docker-compose
uses: hoverkraft-tech/compose-action@v2.0.1
with:
compose-file: "docker-compose.yml"

- name: Execute tests in the running services
run: |
docker-compose run islasgeci make test-services
- name: Teardown services
run: |
docker-compose down
deploy-image-and-package:
needs: run-tests
needs: run-tests test-service
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand Down

0 comments on commit c84b9d8

Please sign in to comment.