File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed
Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 3737 sudo apt-get install -y docker-compose
3838
3939 - name : Build & Test
40- run : make test-docker version=${{ matrix.python-version }} raw_token=${{ secrets.RAW_GITHUB_TOKEN }}
40+ run : make test-docker version=${{ matrix.python-version }}
4141 env :
4242 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4343
Original file line number Diff line number Diff line change @@ -26,4 +26,3 @@ __pycache__
2626example.pdf
2727TODO.txt
2828twilio.env
29- prism *
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ test-integ: test
1818
1919version ?= latest
2020test-docker :
21- curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/refs/heads/main/prism/prism.sh? token=$(raw_token ) -o prism.sh
2221 version=$(version ) bash ./prism.sh
2322
2423clean : nopyc
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_TOKEN} @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