Skip to content

Commit

Permalink
spin up service first
Browse files Browse the repository at this point in the history
  • Loading branch information
Hgherzog committed Oct 16, 2024
1 parent 1c4e061 commit 1b043cd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand All @@ -87,6 +82,13 @@ jobs:
curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/orgs/allenai/packages/container/rslearn_projects/versions
- name: Set up Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
docker-compose -f docker-compose.yaml up -d
- name: Run tests with Docker Compose
run: |
docker-compose -f docker-compose.yaml run test pytest tests/
Expand Down

0 comments on commit 1b043cd

Please sign in to comment.