Skip to content

Add test-package workflow #1

Add test-package workflow

Add test-package workflow #1

Workflow file for this run

name: Test package

Check failure on line 1 in .github/workflows/test-package.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-package.yml

Invalid workflow file

`jobs` is not a valid event name
on:
workflow_call:
workflow_dispatch:
push:
branches: ["main", "feature/*"]
pull_request:
branches: ["main"]
jobs:
test-package:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
env:
INTERPRETER: python
PIP: python -m pip
runs-on: $$ {{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install local package
run: make install local-package
- name: Test package
run: make test-package