Skip to content

Update structure and workflows #3

Update structure and workflows

Update structure and workflows #3

name: PyGC Operator Checker CI
on:
push:
branches:
- main
- PyGC
pull_request:
branches:
- main
- 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/