Skip to content
Closed
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: 3 additions & 3 deletions .github/workflows/cli-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ jobs:
# This is an optimization that runs tests twice, with and without
# the devbox.json tests. We can require the other tests to complete before
# merging, while keeping the others as an additional non-required signal
run-devbox-json-tests: [true, false]
run-devbox-json-tests: [true]
# Run tests on:
# 1. the oldest supported nix version (which is 2.9.0? But determinate-systems installer has 2.12.0)
# 2. nix version 2.17.0 which introduces a new code path that minimizes nixpkgs downloads.
# 3. latest nix version (currently, that is 2.17.0, so omitted)
nix-version: ["2.12.0", "2.17.0"]
nix-version: ["2.17.0"]
exclude:
- is-main: false
os: "${{ inputs.run-mac-tests && 'dummy' || 'macos-latest' }}"
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
nix-version: [2.15.1, 2.16.1, 2.17.0]
nix-version: [2.17.0]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
29 changes: 29 additions & 0 deletions testscripts/testrunner/examplesrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,35 @@ func RunDevboxTestscripts(t *testing.T, dir string) {
return nil
}

ignoredExampleDirs := []string{
"cloud_development",
"data_science",
"databases",
"development/csharp",
"development/elixir",
"development/fsharp",
"development/go",
"development/haskell",
"development/java",
"development/nim",
"development/nodejs",
"development/php",
//"development/python",
//"development/ruby",
//"development/rust",
//"development/zig",
"flakes",
"insecure",
"plugins",
"servers",
"stacks",
}
for _, ignoredDir := range ignoredExampleDirs {
if strings.Contains(path, ignoredDir) {
t.Logf("skipping ignored dir: %s\n", path)
return nil
}
}
t.Logf("running testscript for example: %s\n", path)
runSingleDevboxTestscript(t, dir, path)
return nil
Expand Down