Update docker.md #126
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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches_ignore: [] | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup black environment | |
run: conda create --quiet --name black black | |
- name: Lint and format Python code | |
run: | | |
export PATH="/usr/share/miniconda/bin:$PATH" | |
source activate black | |
pip install -r .github/dev-requirements.txt | |
pre-commit run --all-files | |
testing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup conda environment | |
run: | | |
conda create --quiet --name testing | |
export PATH="/usr/share/miniconda/bin:$PATH" | |
source activate testing | |
pip install matplotlib | |
pip install . | |
- name: Test deid | |
run: | | |
export PATH="/usr/share/miniconda/bin:$PATH" | |
source activate testing | |
pip install deid-data | |
python -m unittest discover -s deid/tests/ -p '[t|T]est*.py' |