System Tests #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: System Tests | |
on: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
python-version: | |
description: Python version | |
required: true | |
default: "3.11" | |
type: string | |
env: | |
# https://github.com/pytest-dev/pytest/issues/2042 | |
PY_IGNORE_IMPORTMISMATCH: "1" | |
jobs: | |
run-system-tests: | |
runs-on: system-tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
# Need this to get version number from last tag | |
fetch-depth: 0 | |
- if: inputs.python-version != 'dev' | |
name: Install latest versions of python packages | |
uses: ./.github/actions/install_requirements | |
with: | |
python-version: ${{ inputs.python-version }} | |
pip-install: ".[dev]" | |
- name: Run tests | |
run: tox -e systemtests |