Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5f45af07a1 | |||
489b4a2f78 | |||
b93cdea694 | |||
783053eda6 |
@ -1,4 +0,0 @@
|
|||||||
test('nothing', async() => {
|
|
||||||
});
|
|
||||||
|
|
||||||
// TODO: hopefully github actions will support integration tests
|
|
@ -1,11 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
clearMocks: true,
|
|
||||||
moduleFileExtensions: ['js', 'ts'],
|
|
||||||
testEnvironment: 'node',
|
|
||||||
testMatch: ['**/*.test.ts'],
|
|
||||||
testRunner: 'jest-circus/runner',
|
|
||||||
transform: {
|
|
||||||
'^.+\\.ts$': 'ts-jest'
|
|
||||||
},
|
|
||||||
verbose: true
|
|
||||||
}
|
|
@ -47,7 +47,15 @@ if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "installer options: ${installer_options[@]}"
|
echo "installer options: ${installer_options[@]}"
|
||||||
sh <(curl --retry 5 --retry-connrefused -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}") "${installer_options[@]}"
|
|
||||||
|
# There is --retry-on-errors, but only newer curl versions support that
|
||||||
|
until curl -o /tmp/install -v --fail --retry 5 --retry-connrefused -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}"
|
||||||
|
do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
|
||||||
|
chmod +x /tmp/install
|
||||||
|
sh /tmp/install "${installer_options[@]}"
|
||||||
|
|
||||||
if [[ $OSTYPE =~ darwin ]]; then
|
if [[ $OSTYPE =~ darwin ]]; then
|
||||||
# macOS needs certificates hints
|
# macOS needs certificates hints
|
||||||
|
Reference in New Issue
Block a user