Django update to 3.2, Python 3.10 #49
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 | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Python via conda. | |
uses: s-weigand/setup-conda@v1 | |
with: | |
conda-channels: defaults,bioconda,conda-forge | |
- name: Install mamba. | |
run: conda install -y mamba | |
- name: Install the cadd-scripts package from bioconda | |
run: mamba install -y cadd-scripts | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install project Python dependencies | |
run: | | |
pip install -r requirements/test.txt | |
- name: Run tests | |
run: | | |
coverage run --rcfile=.coveragerc manage.py test -v 2 --settings=config.settings.test | |
coverage xml | |
coverage report | |
- name: Check formatting | |
run: make black arg=--check | |
- name: Run Codacy coverage reporter | |
uses: codacy/codacy-coverage-reporter-action@master | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: coverage.xml |