File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 username : ${{ secrets.DOCKER_USERNAME }}
3232 password : ${{ secrets.DOCKER_AUTH_TOKEN }}
3333
34+ - name : Install Docker Compose
35+ run : |
36+ sudo apt-get update
37+ sudo apt-get install -y docker-compose
38+
3439 - name : Run Unit Tests
3540 run : make test-docker version=${{ matrix.php }}
3641
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ test.php
1010.idea /
1111* .code-workspace
1212.vscode
13- prism *
13+ prism /
1414temp.php
1515TODO.txt
1616sendgrid-php.zip
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ test-integ: test
2929
3030version ?= latest
3131test-docker :
32- curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh
3332 dependencies=lowest version=$(version ) bash ./prism.sh
3433 dependencies=highest version=$(version ) bash ./prism.sh
3534
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ rm -rf prism && mkdir -p prism && cd prism
5+ git clone --depth 1 https://github.com/sendgrid/sendgrid-oai .
6+ cd prism
7+
8+ docker compose build --parallel
9+
10+ if [ -z " $command " ]; then
11+ docker compose up --force-recreate --abort-on-container-exit --remove-orphans
12+ else
13+ docker compose run helper-runner " $command "
14+ docker compose down
15+ fi
You can’t perform that action at this time.
0 commit comments