-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add nix testing with devimint (#62)
* feat: add nix testing with devimint * chore: update testing docs * chore: cleanup * feat: Add Devimint to testing harness * feat: Add nix setup to testing workflow * fix: readd cachix to nix workflow * fix: workflow nix develop * fix: remove retry logic in test workflow * chore: changet fedimint target * fix: tweak test
- Loading branch information
1 parent
93d7697
commit e50ec77
Showing
26 changed files
with
791 additions
and
153 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,5 @@ | ||
--- | ||
'@fedimint/core-web': patch | ||
--- | ||
|
||
Added Nix devshell to run Devimint within testing suite |
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 @@ | ||
use flake |
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,25 @@ | ||
name: Setup Nix | ||
description: Sets up nix for running tests with devimint | ||
|
||
inputs: | ||
cachix_auth_token: | ||
description: 'Cachix authentication token' | ||
required: true | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install Nix | ||
uses: cachix/install-nix-action@V27 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-23.11 | ||
extra_nix_config: | | ||
connect-timeout = 15 | ||
stalled-download-timeout = 15 | ||
- name: Setup Cachix | ||
uses: cachix/cachix-action@v15 | ||
with: | ||
name: fedimint | ||
authToken: ${{ inputs.cachix_auth_token }} | ||
continue-on-error: true |
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
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
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
Oops, something went wrong.