-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
5 changed files
with
69 additions
and
2 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,22 @@ | ||
name: Setup Environment | ||
inputs: | ||
CACHIX_AUTH_TOKEN: | ||
required: true | ||
description: "Cachix Auth Token" | ||
SECRET_GITHUB_TOKEN: | ||
required: true | ||
description: "Github Secret Token" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
github_token: ${{ inputs.SECRET_GITHUB_TOKEN }} | ||
|
||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
|
||
- name: Install nixci | ||
shell: bash | ||
run: | | ||
nix profile install nixpkgs#nixci | ||
nix profile install nixpkgs#just |
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,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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,15 @@ | ||
repository: | ||
allow_merge_commit: false | ||
allow_rebase_merge: true | ||
allow_squash_merge: false | ||
default_branch: main | ||
delete_branch_on_merge: true | ||
description: 'A nix language configuration framework based on POP: Pure Object' | ||
has_downloads: false | ||
has_issues: false | ||
has_projects: false | ||
has_wiki: false | ||
homepage: '' | ||
name: CONFIGURE-ME | ||
private: true | ||
topics: Flops |
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,24 @@ | ||
name: "CI" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
jupyenv: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: "recursive" | ||
|
||
- name: Setup | ||
uses: ./.github/actions/common-setup | ||
with: | ||
SECRET_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: nixci-jupyenv-quarto | ||
run: | | ||
nix profile install nixpkgs#tectonic | ||
nix develop -c just jupyterlab example build |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
jupyterlab+example: | ||
std //repo/jupyenv/example:run -- "$@" | ||
jupyterlab job Flag: | ||
std //repo/jupyenv/{{job}}:{{Flag}} -- "$@" | ||
|
||
quarto+example: | ||
std //repo/jupyenv/example:quarto -- render ./notebook |