Merge pull request #662 from cmu-delphi/ndefries/sprinkle-gc-get-fore… #928
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Python Lint and Testing | |
on: | |
push: | |
branches: [ main, r-pkg-devel ] | |
pull_request: | |
branches: [ main, r-pkg-devel ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: Python-packages/covidcast-py/ | |
strategy: | |
matrix: | |
python-version: [3.8] | |
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: | | |
make install-ci | |
- name: Lint with pylint and mypy | |
run: | | |
make lint | |
- name: Test with pytest | |
run: | | |
make test |