Skip to content

Commit

Permalink
#167: Add coverage Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Jan 18, 2021
1 parent e43b39e commit 55ecf7a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Coverage
on:
pull_request:
push:
branches:
- master
- feature/code-coverage-#167
jobs:
coverage:
runs-on: ubuntu-16.04
name: Code Coverage
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.6'
architecture: x64
- name: Checkout DataGateway API
uses: actions/checkout@v2
with:
path: datagateway-api

- name: Install Nox
run: pip install nox==2020.8.22
- name: Install Poetry
run: pip install poetry==1.1.4
- name: Get & upload code coverage data
run: nox -s coverage

0 comments on commit 55ecf7a

Please sign in to comment.