svgpathtoolss/.github/workflows/github-ci.yml

35 lines
916 B
YAML
Raw Normal View History

2021-09-18 07:37:31 +00:00
name: Github CI Unit Testing
2021-09-18 07:09:44 +00:00
on:
push:
pull_request:
2021-09-18 07:27:35 +00:00
workflow_dispatch:
2021-09-18 07:09:44 +00:00
jobs:
build:
runs-on: ${{ matrix.os }}
2021-10-19 05:20:24 +00:00
continue-on-error: true
2021-09-18 07:09:44 +00:00
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
2021-09-18 07:09:44 +00:00
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# configure python
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# install deps
- name: Install dependencies for ${{ matrix.os }} Python ${{ matrix.python-version }}
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install scipy
# find and run all unit tests
- name: Run unit tests
2021-09-18 07:21:51 +00:00
run: python -m unittest discover test