Skip to content

Merge pull request #80 from atw1020/dependabot/github_actions/actions… #313

Merge pull request #80 from atw1020/dependabot/github_actions/actions…

Merge pull request #80 from atw1020/dependabot/github_actions/actions… #313

Workflow file for this run

name: Tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- meson-build
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [windows-latest, macos-latest, ubuntu-latest]
python-version: ["3.8", "3.9", "3.10"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v4.7.0
with:
python-version: ${{ matrix.python-version }}
- name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1.12.1
- name: Add requirements
run: pip install --upgrade meson ninja wheel setuptools
- name: Build and install
run: pip install -e .
- name: Test
run: python -m unittest discover tests -t .