Skip to content
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
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
.git
.github
.gitignore
.gitattributes
.pre-commit-config.yaml
build
docs
**/.ipynb_checkpoints
**/__pycache__
**/.pytest_cache
# Files the notebooks write when they run.
**/timings
**/runs
**/machine.json
**/data
**/nsys-probes
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Checks

on:
push:
branches: [main]
pull_request:

jobs:
Expand Down
20 changes: 19 additions & 1 deletion .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,30 @@ name: Image
# on the self-hosted Brev runner that brev/runner-setup.bash registers. Every run builds the
# image, runs the package tests and every notebook in it, starts the Compose stack from it and
# pushes it. A pull request is built only when its branch lives in this repository: a fork's
# code never runs on the runner. The latest tag moves on a push to main.
# code never runs on the runner. The latest tag moves on a push to main. A change that touches
# only files outside the image (docs/, the root README, licences, the Checks workflow) builds
# nothing; a README under notebooks/ is served to students, so it still builds.
on:
push:
branches: [main]
paths-ignore:
- README.md
- docs/**
- LICENSE*
- .gitignore
- .gitattributes
- .pre-commit-config.yaml
- .github/workflows/checks.yml
pull_request:
branches: [main]
paths-ignore:
- README.md
- docs/**
- LICENSE*
- .gitignore
- .gitattributes
- .pre-commit-config.yaml
- .github/workflows/checks.yml
workflow_dispatch:
inputs:
latest:
Expand Down
Loading