Merge pull request #1585 from shykes/universe-tests

yarn: cleanup tests
This commit is contained in:
Solomon Hykes 2022-02-09 09:30:33 -08:00 committed by GitHub
commit b251528535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View File

@ -4,6 +4,6 @@ setup() {
common_setup
}
@test "yarn.#Build" {
dagger up ./yarn-test.cue
@test "yarn" {
dagger up
}

View File

@ -9,12 +9,13 @@ import (
dagger.#Plan & {
inputs: directories: {
testdata: path: "./testdata"
testdata2: path: "./testdata2"
testdata: path: "./data/foo"
testdata2: path: "./data/bar"
}
actions: tests: {
// Run yarn.#Build
simple: {
build: yarn.#Build & {
source: inputs.directories.testdata.contents