Updated remove outlier. #370
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 pipeline checks whether the package | |
# installs properly, passes unit tests and whether | |
# the code formatting is right. | |
name: build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: psf/black@stable | |
with: | |
version: "22.10.0" | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
cache: "pip" | |
- name: Install the module | |
run: pip install ".[test]" | |
- name: Run unit tests | |
run: pytest | |
- name: Install dev dependencies | |
run: pip install -r requirements-dev.txt | |
- name: Run Flake8 check | |
run: flake8 | |
- name: Run pytype check | |
run: pytype | |
- name: Dependencies caching looks right | |
run: python .ci/check-requirements-cache.py | |