This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
Release: 1.31 #26
Workflow file for this run
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: Test | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint with flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Run Flake8 | |
run: | | |
python -m pip install flake8 | |
flake8 | |
unittest: | |
name: Unittest | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
python: [3.8, 3.9] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements-dev.txt | |
pip freeze | |
- name: Run tests using pytest | |
run: ./scripts/pytest |