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
8 changes: 2 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
continue-on-error: true
strategy:
matrix:
features:
- color
- hello
features: []
baseImage:
- debian:latest
- ubuntu:latest
Expand All @@ -33,9 +31,7 @@ jobs:
continue-on-error: true
strategy:
matrix:
features:
- color
- hello
features: []
steps:
- uses: actions/checkout@v4

Expand Down
24 changes: 0 additions & 24 deletions src/color/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions src/color/devcontainer-feature.json

This file was deleted.

26 changes: 0 additions & 26 deletions src/color/install.sh

This file was deleted.

24 changes: 0 additions & 24 deletions src/hello/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions src/hello/devcontainer-feature.json

This file was deleted.

29 changes: 0 additions & 29 deletions src/hello/install.sh

This file was deleted.

12 changes: 0 additions & 12 deletions test/_global/color_and_hello.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,6 @@ set -e
# Optional: Import test library bundled with the devcontainer CLI
source dev-container-features-test-lib

echo -e "The result of the 'color' command will be:\n"
color
echo -e "The result of the 'hello' command will be:\n"
hello
echo -e "\n"

# Feature-specific tests
# The 'check' command comes from the dev-container-features-test-lib.
check "check purple is my favorite color" bash -c "color | grep 'my favorite color is purple'"
check "check I am greeting with 'Greetings'" bash -c "hello | grep 'Greetings, $(whoami)'"


# Report result
# If any of the checks above exited with a non-zero exit code, the test will fail.
reportResults
14 changes: 1 addition & 13 deletions test/_global/scenarios.json
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
{
"color_and_hello": {
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"color": {
"favorite": "purple"
},
"hello": {
"greeting": "Greetings"
}
}
}
}
{}
17 changes: 0 additions & 17 deletions test/color/gold.sh

This file was deleted.

17 changes: 0 additions & 17 deletions test/color/green.sh

This file was deleted.

31 changes: 0 additions & 31 deletions test/color/my_favorite_color_is_green.sh

This file was deleted.

33 changes: 0 additions & 33 deletions test/color/scenarios.json

This file was deleted.

47 changes: 0 additions & 47 deletions test/color/test.sh

This file was deleted.

17 changes: 0 additions & 17 deletions test/hello/hello.sh

This file was deleted.

10 changes: 0 additions & 10 deletions test/hello/scenarios.json

This file was deleted.

Loading
Loading