Skip to content

Fix CI for linux runner #6

Fix CI for linux runner

Fix CI for linux runner #6

Workflow file for this run

name: Run Tests
on: [push,
pull_request,
workflow_dispatch]
jobs:
pylint:
strategy:
matrix:
python-version: ["3.8", "3.12"]
uses: ./.github/workflows/define-pylint.yml
with:
python-version: ${{ matrix.python-version }}
secrets: inherit
pytest:
strategy:
matrix:
python-version: ["3.8", "3.12"]
needs: pylint
if: |
(github.event_name == 'push' && github.ref_name == 'main') ||
(github.event_name == 'pull_request' && github.base_ref == 'main') ||
(github.event_name == 'workflow_dispatch')
uses: ./.github/workflows/define-pytest.yml
with:
python-version: ${{ matrix.python-version }}
secrets: inherit