Skip to content

Add GitHub Actions workflow for PyGC operator checker #1

Add GitHub Actions workflow for PyGC operator checker

Add GitHub Actions workflow for PyGC operator checker #1

Workflow file for this run

name: PyGC Operator Checker CI
on:
push:
branches:
- PyGC
pull_request:
branches:
- PyGC
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests
run: |
PYTHONPATH=. pytest tests/