Skip to content

Commit e27adf3

Browse files
committed
✅ tests: add justfile to run tests and documentation
1 parent f876434 commit e27adf3

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@
33
```console
44
yarn install
55
```
6+
7+
## Tests
8+
9+
Pass a feature and a base image, _e.g._:
10+
11+
```fish
12+
just test fish mcr.microsoft.com/devcontainers/base:debian
13+
```

justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
set shell := ["fish", "-c"]
2+
3+
4+
test feature image:
5+
devcontainer features test \
6+
--skip-scenarios \
7+
--features {{feature}} \
8+
--base-image {{image}} .

0 commit comments

Comments
 (0)