Skip to content

Commit

Permalink
Only run CI for PRs and pushes to master
Browse files Browse the repository at this point in the history
Be more verbose in pytest run.
  • Loading branch information
CasperWA committed Nov 6, 2020
1 parent b5bdba8 commit 6a2ee7d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: CI

on: [push, pull_request]
on:
pull_request:
push:
branches:
- master
- 'push-action/**'

jobs:

Expand Down Expand Up @@ -85,7 +90,7 @@ jobs:
AIIDA_TEST_BACKEND: ${{ matrix.backend }}
AIIDA_TEST_PROFILE: test_${{ matrix.backend }}
AIIDA_PROFILE: test_${{ matrix.backend }}
run: pytest --cov=./aiida_optimade/ --cov-report=xml
run: pytest -v --cov=./aiida_optimade/ --cov-report=xml

- name: Upload coverage to Codecov
if: matrix.python-version == 3.8
Expand Down

0 comments on commit 6a2ee7d

Please sign in to comment.