Skip to content

Makes warnings in solver only happen once #115

Makes warnings in solver only happen once

Makes warnings in solver only happen once #115

Workflow file for this run

name: Python package
on:
pull_request:
push:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
os: ["ubuntu-latest"]
include:
- python-version: "3.9"
os: "macos-latest"
- python-version: "3.9"
os: "windows-latest"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
- name: Install testing packages
run: |
# pip install flake8
# pip install pydocstyle
pip install pytest
pip install pytest-cov pytest-xdist codecov
- name: Test with pytest
run: |
pytest --cov=pyoscode tests
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2