Skip to content

πŸ‘· ci: add macOS and Windows test to CI #29

πŸ‘· ci: add macOS and Windows test to CI

πŸ‘· ci: add macOS and Windows test to CI #29

Workflow file for this run

name: Unit Test
on:
push:
branches: [main]
pull_request:
merge_group:
workflow_dispatch:
jobs:
unittest:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
name: unittest - Python ${{ matrix.python-version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install just
uses: extractions/setup-just@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Initialize venv and install packages
run: |
just create-venv
just install
- name: Run Unittest
run: |
just test