Skip to content

Commit 8006cf6

Browse files
committed
Global tests of circleci & exercism.
1 parent 6bf0a45 commit 8006cf6

File tree

6 files changed

+22
-43
lines changed

6 files changed

+22
-43
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
strategy:
1414
matrix:
1515
features:
16-
- color
17-
- hello
16+
- circleci-cli
17+
- exercism-cli
1818
baseImage:
1919
- debian:latest
2020
- ubuntu:latest
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
source dev-container-features-test-lib
6+
7+
check "circleci info help" bash -c "circleci --skip-update-check info --help"
8+
check "exercism configure help" bash -c "exercism configure --help"
9+
check "circleci location" bash -c "ls /usr/bin/circleci"
10+
check "exercism location" bash -c "ls /usr/bin/exercism"
11+
12+
reportResults

test/_global/color_and_hello.sh

Lines changed: 0 additions & 33 deletions
This file was deleted.

test/_global/scenarios.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"color_and_hello": {
2+
"circleci_and_exercism": {
33
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
44
"features": {
5-
"color": {
6-
"favorite": "purple"
5+
"circleci-cli": {
6+
"destdir": "/usr/bin/"
77
},
8-
"hello": {
9-
"greeting": "Greetings"
8+
"exercism-cli": {
9+
"destdir": "/usr/bin/"
1010
}
1111
}
1212
}
13-
}
13+
}

test/circleci-cli/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ set -e
44

55
source dev-container-features-test-lib
66

7-
check "version" bash -c "circleci version"
7+
check "version" bash -c "circleci --skip-update-check version"
88

99
reportResults

test/exercism-cli/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ set -e
44

55
source dev-container-features-test-lib
66

7-
check "version" bash -c "exercism"
7+
check "version" bash -c "exercism version"
88

99
reportResults

0 commit comments

Comments
 (0)