This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
Fix numpy version in requirements #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
python-version: [3.8] | |
include: | |
- os: ubuntu-latest | |
python-version: 3.6 | |
- os: ubuntu-latest | |
python-version: 3.7 | |
steps: | |
- uses: actions/checkout@v2 | |
- 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 flake8 | |
pip install -r requirements-dev.txt | |
pip install . | |
- name: Lint with flake8 | |
run: | | |
flake8 . --ignore=F403,E501,E123,E128,F401,F405,E402,F821,F841,E721,E265,F811,W504,E741 --exclude=docs,build,env | |
- name: Run tests | |
run: | | |
cd unittest | |
python start.py |