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
1 change: 1 addition & 0 deletions .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
matrix:
features:
- artifacts-helper
- devtool
- docfx
- external-repository
- microsoft-git
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
with:
filters: |
artifacts-helper: ./**/artifacts-helper/**
devtool: ./**/devtool/**
docfx: ./**/docfx/**
external-repository: ./**/external-repository/**
microsoft-git: ./**/microsoft-git/**
Expand Down
2 changes: 1 addition & 1 deletion src/devtool/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
]
}
},
"postCreateCommand": "curl sL https://aka.ms/InstallToolLinux.sh | sh -s DevTool​"
"postCreateCommand": "curl -sL https://aka.ms/InstallToolLinux.sh | sh -s DevTool"
}
2 changes: 1 addition & 1 deletion src/devtool/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ check_packages() {
export DEBIAN_FRONTEND=noninteractive

if [ "${ID}" = "mariner" ]; then
tdnf install -y curl ca-certificates
tdnf install -y curl ca-certificates tar
tdnf clean all
else
check_packages curl ca-certificates xdg-utils
Expand Down
14 changes: 14 additions & 0 deletions test/devtool/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

set -e

# Optional: Import test library bundled with the devcontainer CLI
source dev-container-features-test-lib

# Feature-specific tests
check "dev" dev --version


# Report results
# If any of the checks above exited with a non-zero exit code, the test will fail.
reportResults