Skip to content

Create a scripted demo environment that works around the operator while it's broken. #916

Create a scripted demo environment that works around the operator while it's broken.

Create a scripted demo environment that works around the operator while it's broken. #916

Workflow file for this run

name: Mockoon Tests
permissions:
contents: read
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'exporters/**'
- 'mocks/**'
- '!mocks/README.md'
- '.github/workflows/mockoon-tests.yml'
- 'pyproject.toml'
- 'Makefile'
- 'scripts/run-mockoon-tests.sh'
pull_request:
branches: [ main ]
paths:
- 'exporters/**'
- 'mocks/**'
- '!mocks/README.md'
- '.github/workflows/mockoon-tests.yml'
- 'pyproject.toml'
- 'Makefile'
- 'scripts/run-mockoon-tests.sh'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
mockoon-test:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
python-version: ['3.11', '3.12', '3.13']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
**/requirements*.txt
pyproject.toml
- name: Install dependencies
run: make dev-env
- name: Run mockoon-test
run: make mockoon-tests