Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/cli-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,13 @@ jobs:
echo "PATH=$PATH" >> $GITHUB_ENV
- name: Run tests
run: |
export NIX_PATH=nixpkgs=https://github.com/nixos/nixpkgs/tarball/nixos-unstable
go test -race -cover -v ./...

auto-nix-install: # ensure Devbox installs nix and works properly after installation.
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.5.0
Expand Down
1 change: 1 addition & 0 deletions internal/boxcli/shell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ func (sh *shell) exit(t *testing.T) {
}

func TestShell(t *testing.T) {
t.Setenv("NIX_PATH", "nixpkgs=https://github.com/nixos/nixpkgs/tarball/nixos-unstable")
devboxJSON := `
{
"packages": [],
Expand Down