Issue 1836 - Manual prevalence entry v2 proposal #4189
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: CI | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# on all branches. | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: bahmutov/npm-install@v1 | |
- run: | | |
python -m pip install --upgrade pip | |
pip install black | |
- run: yarn lint --max-warnings 0 | |
typecheck-js: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: bahmutov/npm-install@v1 | |
- run: yarn tsc | |
typecheck-py: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v3 | |
- run: pip install -r requirements-manual.txt | |
- run: mypy . | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Increased fetch-depth needed for codecov | |
with: | |
fetch-depth: 2 | |
- uses: bahmutov/npm-install@v1 | |
- uses: actions/setup-python@v3 | |
- run: yarn coverage | |
- run: pip install -r requirements-manual.txt | |
- run: coverage run -m pytest | |
- run: coverage report -m | |
- run: coverage xml | |
- run: curl -Os https://uploader.codecov.io/latest/linux/codecov | |
- run: chmod +x codecov | |
- run: ./codecov --file coverage/lcov.info --file coverage/py/coverage.xml --nonZero |