Skip to content

Merge pull request #282 from gchq/feature/add-newer-python-to-bug-tem… #341

Merge pull request #282 from gchq/feature/add-newer-python-to-bug-tem…

Merge pull request #282 from gchq/feature/add-newer-python-to-bug-tem… #341

Workflow file for this run

name: Tests
on:
push:
branches:
- develop
- main
pull_request:
branches:
- "**"
jobs:
tests:
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
runs-on: [self-hosted, linux]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# TODO: Re-enable when going public
# https://github.com/gchq/Vanguard/issues/257
# cache: pip
# cache-dependency-path: requirements.txt
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install test dependencies
run: pip install -e .[test]
- name: Test with pytest
run: pytest --ignore=tests/test_examples.py