-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3009983
commit c56f610
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Automatic Tests | ||
'on': | ||
push: | ||
branches: | ||
- main | ||
pull_request: {} | ||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
concurrency: | ||
group: test-${{github.ref}} | ||
cancel-in-progress: true | ||
jobs: | ||
build: | ||
name: Build documentation | ||
runs-on: ubuntu-lates | ||
stages: | ||
- name: 🛒 Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- id: setup-env | ||
name: 📦 Set up Conda environment | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: docs/environment.yml | ||
environment-name: lkpy | ||
init-shell: bash | ||
- id: install | ||
name: 🍱 Install LensKit packages | ||
run: | | ||
pip install --no-deps -e lenskit -e lenskit-funksvd -e lenskit-implicit | ||
- id: docs | ||
name: 📚 Build documentation site | ||
run: | | ||
just docs | ||
- name: 📤 Package documentation site | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: lenskit-docs | ||
path: build/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters