Skip to content

Merge pull request #1 from jzemmels/main #192

Merge pull request #1 from jzemmels/main

Merge pull request #1 from jzemmels/main #192

Workflow file for this run

# This workflow installs and tests hyswap
name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9, '3.10']
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install .
- name: Lint with flake8
run: |
flake8 .
pydocstringformatter .
- name: Test with pytest and report coverage
run: |
coverage run -m pytest
coverage report -m
cd ..