Run unit-tests on supported platforms #438
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: piptest | |
on: | |
push: | |
paths: | |
- 'docs/**/*.py' | |
- 'pytest.ini' | |
merge_group: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
schedule: | |
- cron: 0 5 * * 1 # Every Monday at 5:00 UTC | |
jobs: | |
piptesting: | |
runs-on: ${{ matrix.platform.runner }} | |
strategy: | |
matrix: | |
platform: | |
- runner: ubuntu-latest # x64 | |
- runner: ubuntu-24.04-arm # arm64 | |
- runner: windows-latest # x64 | |
- runner: macos-13 # Intel | |
- runner: macos-14 # arm64 | |
- runner: macos-latest # arm64 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Installing sedpack pip package | |
run: | | |
pip install sedpack | |
- name: Run tutorial using sedpack pip package | |
run: | | |
python docs/tutorials/quick_start/mnist_save.py -d mnist_dataset | |
python docs/tutorials/quick_start/mnist_read.py -d mnist_dataset |