Skip to content

Unit tests

Unit tests #4

Workflow file for this run

name: Unit tests
defaults:
run:
shell: bash -le {0}
on:
repository_dispatch:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
cache: 'pip'
- name: test os
continue-on-error: true
run: python3 tests/os.py
- name: test cpu
continue-on-error: true
run: python3 tests/cpu.py