Use a matrix in testing workflow
This commit is contained in:
parent
9de6c31571
commit
4d4e25083a
1 changed files with 6 additions and 1 deletions
7
.github/workflows/test-report-failed-run.yml
vendored
7
.github/workflows/test-report-failed-run.yml
vendored
|
|
@ -4,11 +4,16 @@ on: push
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
language: [javascript]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: ./init
|
- uses: ./init
|
||||||
with:
|
with:
|
||||||
languages: javascript
|
languages: ${{ matrix.language }}
|
||||||
- name: Fail
|
- name: Fail
|
||||||
run: exit 1
|
run: exit 1
|
||||||
- uses: ./analyze
|
- uses: ./analyze
|
||||||
|
with:
|
||||||
|
category: "/language:${{ matrix.language }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue