Skip to content

Commit f35546d

Browse files
committed
test: fix docker test and build over main branch
- Remove the dependency from the sendgrid-oai repo and prism. - Build and start containers on test target on a single statement. This should fix the builds over the main branch, because `docker-compose` is compose v1 which has been deprecated and not installed on newest versions of github actions `ubuntu-latest`. more info: https://docs.docker.com/compose/migrate/#what-are-the-differences-between-compose-v1-and-compose-v2
1 parent 574e54c commit f35546d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ test-integ: test
1111

1212
version ?= latest
1313
test-docker:
14-
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh
15-
version=$(version) bash ./prism.sh
14+
docker compose up --build --parallel --force-recreate --abort-on-container-exit --remove-orphans

0 commit comments

Comments
 (0)