forked from PolusAI/bfio
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 730 Bytes
/
test.yml
File metadata and controls
32 lines (27 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Python Tests
on:
workflow_dispatch:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
unittest:
name: Run unit tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-15-intel, windows-latest, macos-14]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install bfio 🔧
run: |
pip install .[dev]
- name: Test with unittest
run: |
python -m unittest -v