Skip to content

Commit

Permalink
Add test-package workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxcode123 committed Feb 15, 2024
1 parent 7905173 commit 4b4d770
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test package

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

0 comments on commit 4b4d770

Please sign in to comment.