diff options
| author | Tobias McNulty <tobias@caktusgroup.com> | 2025-10-13 09:46:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-13 09:46:57 -0400 |
| commit | 1612897142120c6aa61918d4095fb5c69a20eea3 (patch) | |
| tree | e6b4ce0fdde91ac10461f2592959cfdd130b877b /.github | |
| parent | 3640cc55b5e57179f5c740b527ab9acf50b1cb5d (diff) | |
Streamlined and added CI steps for docker compose (#2207)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/docker-test-build.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/docker-test-build.yml b/.github/workflows/docker-test-build.yml index 57f9634b..5492325f 100644 --- a/.github/workflows/docker-test-build.yml +++ b/.github/workflows/docker-test-build.yml @@ -25,10 +25,21 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Test docker image build (local development) + - if: matrix.req_file != 'tests.txt' + name: Test docker image build (${{ matrix.req_file }}) uses: docker/build-push-action@v6 with: context: . push: false build-args: | REQ_FILE=requirements/${{ matrix.req_file }} + + - if: matrix.req_file == 'tests.txt' + name: Set up Docker Compose + uses: docker/setup-compose-action@v1 + + - if: matrix.req_file == 'tests.txt' + name: Run the tests via Docker + run: | + docker compose build + docker compose run --rm web make ci |
