Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run ci on push to main, exclude notebook tests on push #205

Merged
merged 1 commit into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: "Build and test"
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
push:
branches:
- main
workflow_dispatch:
Expand Down Expand Up @@ -36,12 +38,6 @@ jobs:
- name: Run tests
run: uv run pytest tests --benchmark-json output.json --cov-report=xml

- name: Upload coverage artifact
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage.xml

- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
Expand All @@ -56,7 +52,8 @@ jobs:
# Enable Job Summary for PRs
summary-always: true
- name: Test notebooks
run: uv run pytest --nbmake docs/source/examples/*ipynb --ignore docs/source/examples/comparing-pyprobe-performance.ipynb
if: github.event_name == 'pull_request'
run: uv run pytest --nbmake docs/source/examples/*ipynb

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/coverage.yml

This file was deleted.

Loading