generated from devcontainers-community/feature-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (38 loc) · 973 Bytes
/
test-feature.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Test feature
on:
push:
branches: "main"
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .github/**
- "!.github/workflows/test-feature.yml"
pull_request:
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .github/**
- "!.github/workflows/test-feature.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-feature:
strategy:
fail-fast: false
matrix:
include:
- image: mcr.microsoft.com/devcontainers/base:ubuntu
options: '{ "version": "2.32.3" }'
- image: debian:bookworm-slim
options: '{ "version": "system" }'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install -g @devcontainers/cli
- run: bash test.sh "$IMAGE" "$OPTIONS"
env:
IMAGE: ${{ matrix.image }}
OPTIONS: ${{ matrix.options }}