Skip to content

Test/rebase fixup

Test/rebase fixup #146

Workflow file for this run

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'