Skip to content

Commit

Permalink
add build step
Browse files Browse the repository at this point in the history
  • Loading branch information
Emterry committed Dec 3, 2024
1 parent f95741d commit dadc747
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@ jobs:
# id: setup_container_structure_test
# uses: ministryofjustice/github-actions/setup-container-structure-test@ccf9e3a4a828df1ec741f6c8e6ed9d0acaef3490 # v18.5.0

- name: Install Docker Compose
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build with Docker Compose
id: build
shell: bash
env:
IMAGE_NAME: ${{ github.repository }}
IMAGE_TAG: ${{ github.sha }}
run: |
sudo curl -L "https://github.com/docker/compose/releases/download/v2.21.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
docker compose build
- name: Run tests
run: make test-python

0 comments on commit dadc747

Please sign in to comment.