Skip to content

Commit

Permalink
Add OpenAPI Test Runner to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Jan 9, 2024
1 parent 8acf51f commit 5a8127f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/compliance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,23 @@ jobs:
FLAGS="--config `pwd`/config.yml"
./funnel server run $FLAGS &> funnel.logs &
- name: Run OpenAPI Test Runner
run: |
# Clone the 'upstream' OpenAPI Test Runner when PR #65 is merged
# https://github.com/elixir-cloud-aai/openapi-test-runner/pull/65
# git clone https://github.com/elixir-cloud-aai/openapi-test-runner
git clone https://github.com/ohsu-comp-bio/openapi-test-runner.git
cd openapi-test-runner
python3 -m venv venv
source venv/bin/activate
python setup.py install
openapi-test-runner report --version "${{ matrix.version }}" --server "http://localhost:8000/"
- uses: actions/checkout@v3
with:
repository: lbeckman314/tes-compliance-suite
ref: feature/tesv1.1
path: tes-compliance-suite

- name: Install TES compliance suite
run: |
Expand All @@ -103,7 +115,7 @@ jobs:
python setup.py install
mkdir reports
- name: Test compliance
- name: Test compliance (Report Publishing)
run: |
cd tes-compliance-suite
source venv/bin/activate
Expand Down

0 comments on commit 5a8127f

Please sign in to comment.