Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ jobs:
run: |
mount | grep cgroup

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build docker image
run: |
docker compose -p cms -f docker/docker-compose.test.yml build testcms
uses: docker/build-push-action@v6
with:
# This action used to be `docker compose -p cms build testcms`, so the tag name is cms-testcms.
tags: cms-testcms
load: true
cache-from: type=gha
cache-to: type=gha

- name: Run tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker/_cms-test-internal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dropdb --host=testdb --username=postgres cmsdbfortesting
createdb --host=testdb --username=postgres cmsdbfortesting
cmsInitDB

cmsRunFunctionalTests -v --coverage codecov/functionaltests.xml
cmsRunFunctionalTests -vvv --coverage codecov/functionaltests.xml
FUNC=$?

# This check is needed because otherwise failing unit tests aren't reported in
Expand Down
Loading