Update .gitignore to exclude hyperdirmic.egg-info #16
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
# .github/workflows/ci.yml | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m venv venv | |
source venv/bin/activate | |
pip install -r requirements.txt | |
- name: Run tests | |
run: | | |
source venv/bin/activate | |
pytest | |
- name: Lint code | |
run: | | |
source venv/bin/activate | |
flake8 | |
- name: Format code | |
run: | | |
source venv/bin/activate | |
black --check . | |