forked from scalacenter/scastie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix ssh pipe
- Loading branch information
Showing
3 changed files
with
24 additions
and
20 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 |
---|---|---|
|
@@ -7,10 +7,14 @@ jobs: | |
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Start mongodb | ||
uses: supercharge/[email protected] | ||
- uses: nixbuild/nix-quick-install-action@v5 | ||
uses: supercharge/[email protected] | ||
|
||
- uses: cachix/install-nix-action@v19 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-22.11 | ||
- name: Run tests | ||
run: | | ||
nix-shell --command "sbt -DSnippetsContainerTest.mongo=true cachedCiTest" |
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,18 +1,18 @@ | ||
with import (builtins.fetchGit { | ||
name = "nixos-unstable-2021-11-15"; | ||
url = "https://github.com/nixos/nixpkgs/"; | ||
ref = "refs/heads/nixos-unstable"; | ||
rev = "931ab058daa7e4cd539533963f95e2bb0dbd41e6"; | ||
}) {}; | ||
|
||
with (import <nixpkgs> {}); | ||
|
||
stdenv.mkDerivation { | ||
name = "scastie"; | ||
|
||
buildInputs = with pkgs; [ sbt nodejs yarn bash ]; | ||
|
||
SBT_OPTS = ""; | ||
|
||
shellHook = '' | ||
alias cls=clear | ||
''; | ||
} | ||
buildInputs = | ||
let | ||
sbtWithJRE = pkgs.sbt.override { | ||
jre = pkgs.jdk17_headless; | ||
}; | ||
in | ||
[ | ||
pkgs.nodejs | ||
pkgs.yarn | ||
pkgs.bash | ||
sbtWithJRE | ||
]; | ||
} |
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