Skip to content

Commit

Permalink
Move docker logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Navarro-Jonathan committed Jul 12, 2023
1 parent b59d17d commit 757a1e6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ jobs:
python -m pip install --upgrade pip
pip install pytest
pip install .
- name: Set up aerie instance
run: |
curl https://raw.githubusercontent.com/NASA-AMMOS/aerie-mission-model-template/main/docker-compose.yml --output docker-compose.yml
docker compose -f "docker-compose.yml" up -d --build
- name: Test with pytest
- name: Run unit tests
run: |
cd tests
pytest unit_tests
- name: Run integration tests
run: |
curl https://raw.githubusercontent.com/NASA-AMMOS/aerie-mission-model-template/main/docker-compose.yml --output docker-compose.yml
docker compose -f "docker-compose.yml" up -d --build
cd tests
pytest integration_tests
- name: Close containers
Expand Down

0 comments on commit 757a1e6

Please sign in to comment.