Clean up ordered word count example #426
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration tests | |
on: pull_request | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Zambeze image | |
run: docker build -t zambeze -f deployment/Dockerfile . | |
- name: Launch Docker Compose | |
run: docker compose -f deployment/compose-rabbit.yml up -d | |
- name: Sleep | |
run: | | |
echo "I'm going to sleep hoping the services will be up when I wake up... zzz..." | |
sleep 15 | |
- name: Run Unit Tests | |
run: docker exec zambeze-agent pytest -m unit | |
# - name: Run Integration Tests | |
# run: | | |
# docker compose -f deployment/compose-rabbit.yml exec zambezeagent python3 -m pytest -m integration | |
# - name: Run End-To-End Tests | |
# run: | | |
# docker compose -f deployment/compose-rabbit.yml exec zambezeagent python3 -m pytest -m end_to_end | |
- name: Cleanup | |
run: | | |
docker compose -f deployment/compose-rabbit.yml down |