Skip to content

Commit 05d84f4

Browse files
authored
Upload coverage report from main directly (#125)
* Run whole test suite also on pushes to main * Remove outdated build-docs workflow
1 parent 25cf88e commit 05d84f4

File tree

2 files changed

+7
-67
lines changed

2 files changed

+7
-67
lines changed

.github/workflows/build-docs.yaml

-65
This file was deleted.

.github/workflows/pytest.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: test
22

3-
on: pull_request
3+
# TODO workaround for Codecov/squash and merge, a bit wasteful
4+
# Revise e.g. via https://github.com/codecov/feedback/issues/369
5+
on:
6+
pull_request:
7+
push:
8+
branches:
9+
- 'main'
410

511
jobs:
612
test:
@@ -130,7 +136,6 @@ jobs:
130136
run: |
131137
source .venv/bin/activate
132138
pytest --backend ${{ matrix.backend }} --postgres-dsn "postgresql://postgres:postgres@localhost:5432/test" --cov-report xml:.coverage.xml --cov=ixmp4 -rsxX --benchmark-skip --color=yes
133-
134139
#------------------------------
135140
# Upload coverage to codecov
136141
#------------------------------

0 commit comments

Comments
 (0)