Skip to content

Commit

Permalink
Make CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-wilson committed Jan 10, 2024
1 parent 6ea7520 commit 62162bc
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/test_suite_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ name: Python Test Suite

on:
push:
paths:
- .github/workflows/test_suite_python.yml
- bindings/python/conftest.py
- bindings/python/pychecks/**
- bindings/python/pyproject.toml
- bindings/python/src/**
- bindings/python/tests/**
pull_request:
paths:
- .github/workflows/test_suite_python.yml
- bindings/python/conftest.py
- bindings/python/pychecks/**
- bindings/python/pyproject.toml
- bindings/python/src/**
- bindings/python/tests/**
# paths:
# - .github/workflows/test_suite_python.yml
# - bindings/python/conftest.py
# - bindings/python/pychecks/**
# - bindings/python/pyproject.toml
# - bindings/python/src/**
# - bindings/python/tests/**
# pull_request:
# paths:
# - .github/workflows/test_suite_python.yml
# - bindings/python/conftest.py
# - bindings/python/pychecks/**
# - bindings/python/pyproject.toml
# - bindings/python/src/**
# - bindings/python/tests/**

jobs:
test:
Expand Down Expand Up @@ -52,6 +52,11 @@ jobs:
with:
python-version: ${{matrix.python-version}}
cache: 'pip'
- name: Cache virtualenv
uses: actions/cache@v3
with:
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version}}-${{ hashFiles('pyproject.toml') }}
path: .venv
- name: Setup virtual environment
run: |
python -m venv .venv
Expand All @@ -62,6 +67,7 @@ jobs:
command: develop
sccache: 'true'
manylinux: auto
working-directory: bindings/python
- name: Install dependencies
run: python -m pip install .[test]
- name: Run tests
Expand Down

0 comments on commit 62162bc

Please sign in to comment.