Skip to content

feat: set up release-please github action (#12) #66

feat: set up release-please github action (#12)

feat: set up release-please github action (#12) #66

Workflow file for this run

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