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:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
language: [javascript]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./init
|
||||
with:
|
||||
languages: javascript
|
||||
languages: ${{ matrix.language }}
|
||||
- name: Fail
|
||||
run: exit 1
|
||||
- uses: ./analyze
|
||||
with:
|
||||
category: "/language:${{ matrix.language }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue