Skip to content

Commit

Permalink
Upload coverage report from main directly (#125)
Browse files Browse the repository at this point in the history
* Run whole test suite also on pushes to main
* Remove outdated build-docs workflow
  • Loading branch information
glatterf42 authored Nov 6, 2024
1 parent b982f47 commit 70366d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 67 deletions.
65 changes: 0 additions & 65 deletions .github/workflows/build-docs.yaml

This file was deleted.

9 changes: 7 additions & 2 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: test

on: pull_request
# TODO workaround for Codecov/squash and merge, a bit wasteful
# Revise e.g. via https://github.com/codecov/feedback/issues/369
on:
pull_request:
push:
branches:
- 'main'

jobs:
test:
Expand Down Expand Up @@ -130,7 +136,6 @@ jobs:
run: |
source .venv/bin/activate
pytest --backend ${{ matrix.backend }} --postgres-dsn "postgresql://postgres:postgres@localhost:5432/test" --cov-report xml:.coverage.xml --cov=ixmp4 -rsxX --benchmark-skip --color=yes
#------------------------------
# Upload coverage to codecov
#------------------------------
Expand Down

0 comments on commit 70366d4

Please sign in to comment.