Skip to content

Commit

Permalink
Add missing test package workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Sep 7, 2024
1 parent 01d21dc commit 7a86030
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test-package-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Package Tests

on:
workflow_call:
inputs:
changed-files:
required: true
type: string
description: JSON string containing information about changed files

jobs:
test:
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-latest
- macos-12
- macos-13-xlarge
- windows-latest

name: Package Test ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}

steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install python dependencies
run: |
pip3 install pytest
- name: Run tests
run: |
pytest -v

0 comments on commit 7a86030

Please sign in to comment.