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

35 lines
907 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:
2021-09-18 07:28:39 +00:00
branches: [ master ]
2021-09-18 07:09:44 +00:00
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 }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
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