Skip to content

Commit 87f7695

Browse files
committed
ci: simplify test workflow
Remove test-autogenerated and change test-scenarios to avoid outdated test configuration
1 parent 7931b4a commit 87f7695

1 file changed

Lines changed: 5 additions & 25 deletions

File tree

.github/workflows/test.yaml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,22 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
test-autogenerated:
11-
runs-on: ubuntu-latest
12-
continue-on-error: true
13-
strategy:
14-
matrix:
15-
features:
16-
- lefthook
17-
baseImage:
18-
- debian:latest
19-
- ubuntu:latest
20-
- mcr.microsoft.com/devcontainers/base:ubuntu
21-
steps:
22-
- uses: actions/checkout@v4
23-
24-
- name: "Install latest devcontainer CLI"
25-
run: npm install -g @devcontainers/cli
26-
27-
- name: "Generating tests for '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
28-
run: devcontainer features test --skip-scenarios -f ${{ matrix.features }} -i ${{ matrix.baseImage }} .
29-
3010
test-scenarios:
3111
runs-on: ubuntu-latest
3212
continue-on-error: true
3313
strategy:
3414
matrix:
35-
features:
36-
- lefthook
37-
- go-air
15+
images:
16+
- mcr.microsoft.com/devcontainers/base:debian
17+
- mcr.microsoft.com/devcontainers/base:ubuntu
3818
steps:
3919
- uses: actions/checkout@v4
4020

4121
- name: "Install latest devcontainer CLI"
4222
run: npm install -g @devcontainers/cli
4323

44-
- name: "Generating tests for '${{ matrix.features }}' scenarios"
45-
run: devcontainer features test -f ${{ matrix.features }} --skip-autogenerated --skip-duplicated .
24+
- name: "Generating tests for all scenarios against ${{ matrix.images }}"
25+
run: devcontainer features test -i ${{ matrix.images }} .
4626

4727
test-global:
4828
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)