Skip to content

Release/0.17.1

Release/0.17.1 #175

Workflow file for this run

name: OERC-Integration
on:
pull_request:
push:
branches:
- main
tags:
- '*'
jobs:
oerc-integration:
name: Schemathesis Integration Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.11' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.23'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Caching...
uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.npm
client/node_modules
openapi-generator-cli.jar
key: ${{ runner.os }}-pip
restore-keys: |
${{ runner.os }}-pip-cache-oerc
- name: Install libraries
run: sudo apt-get install -y docker-compose
- name: Build oerc and startup server
run: |
make setup
docker-compose -f docker-compose-ci.yaml up -d --build
- name: Run Schemathesis
run: |
until [ "`docker inspect -f {{.State.Health.Status}} oerc-db`"=="healthy" ]; do
sleep 0.2;
done;
until [ "`docker inspect -f {{.State.Health.Status}} oerc-server`"=="healthy" ]; do
sleep 0.2;
done;
make integration-test
- name: Shutdown containers
if: always()
run: docker-compose -f docker-compose-ci.yaml down