Skip to content

Fix for zenodo token tests #568

Fix for zenodo token tests

Fix for zenodo token tests #568

Workflow file for this run

name: Test Coverage
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
COVERAGE_TOTAL: 10
steps:
- uses: actions/checkout@v2
- name: Download default .env file
run: make default-env
- name: Install docker-compose
run: |
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
- name: Build containers
run: make build
- name: Startup containers
run: make up-d
- name: Sleep for 10 seconds
run: sleep 10s
shell: bash
- name: Run Tests and Build Coverage
run: make test-cov-gh-action
- name: Comment coverage
uses: coroo/[email protected]
with:
pytest-coverage: pytest-coverage.txt