Update README.md #26
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 Conda environment, run tests and lint with a single version of Python. | |
name: Continuous Integration | |
on: | |
push: | |
branches: [ main, master ] | |
pull_request: | |
branches: [ main, master ] | |
workflow_dispatch: | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_BUILDKIT: "1" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Lint using pylint | |
run: docker build . --target lint | |
- name: Test using pytest | |
run: docker build . --target unit-test |