Skip to content

Commit 8e431c0

Browse files
authored
Create test-feature.yml
1 parent 1ade30e commit 8e431c0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/test-feature.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Test feature
2+
on:
3+
push:
4+
branches: "main"
5+
paths-ignore:
6+
- .gitignore
7+
- LICENSE
8+
- README.md
9+
- .github/**
10+
- "!.github/workflows/test-feature.yml"
11+
pull_request:
12+
paths-ignore:
13+
- .gitignore
14+
- LICENSE
15+
- README.md
16+
- .github/**
17+
- "!.github/workflows/test-feature.yml"
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
jobs:
22+
test-feature:
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
include:
27+
- image: mcr.microsoft.com/devcontainers/base:ubuntu
28+
options: '{ "version": "13" }'
29+
- image: debian:bookworm-slim
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v3
33+
- run: npm install -g @devcontainers/cli
34+
- run: bash test.sh "$IMAGE" "$OPTIONS"
35+
env:
36+
IMAGE: ${{ matrix.image }}
37+
OPTIONS: ${{ matrix.options }}

0 commit comments

Comments
 (0)