File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CI - Test Features"
2+ on :
3+ push :
4+ branches :
5+ - main
6+ workflow_dispatch :
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ continue-on-error : true
12+ strategy :
13+ matrix :
14+ features :
15+ - " mise"
16+ baseImage :
17+ - " ubuntu:focal"
18+ - " ubuntu:jammy"
19+ - " debian:11"
20+ - " debian:12"
21+ - " mcr.microsoft.com/devcontainers/base:ubuntu"
22+ - " mcr.microsoft.com/devcontainers/base:debian"
23+ - " mcr.microsoft.com/devcontainers/base:noble"
24+ steps :
25+ - uses : actions/checkout@v4
26+ - uses : jdx/mise-action@v2
27+
28+ - name : " Generating tests for '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
29+ run : mise x -- devcontainer features test --skip-scenarios -f ${{ matrix.features }} -i ${{ matrix.baseImage }} .
30+
31+ test-scenarios :
32+ runs-on : ubuntu-latest
33+ continue-on-error : true
34+ strategy :
35+ matrix :
36+ features :
37+ - " mise"
38+ steps :
39+ - uses : actions/checkout@v4
40+ - uses : jdx/mise-action@v2
41+
42+ - name : " Testing '${{ matrix.features }}' scenarios"
43+ run : mise x -- devcontainer features test -f ${{ matrix.features }} --skip-autogenerated .
44+
45+ test-global :
46+ runs-on : ubuntu-latest
47+ continue-on-error : true
48+ steps :
49+ - uses : actions/checkout@v4
50+ - uses : jdx/mise-action@v2
51+
52+ - name : " Testing global scenarios"
53+ run : mise x -- devcontainer features test --global-scenarios-only .
You can’t perform that action at this time.
0 commit comments