fix #17960: honor matrix also for action: compile, action: reject (#17980)

* fix #17960: honor `matrix` for all action
This commit is contained in:
Timothee Cour 2021-05-09 00:50:08 -07:00 • committed by GitHub
commit 69710e4548
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View file

@ -1,10 +1,10 @@
discard """
action: reject
nimout: '''tusages.nim(22, 5) Error: 'BAD_STYLE' should be: 'BADSTYLE' [proc declared in tusages.nim(11, 6)]'''
cmd: "nim $target --styleCheck:error --styleCheck:usages $file"
matrix: "--styleCheck:error --styleCheck:usages"
"""
# xxx pending bug #17960, use: matrix: "--styleCheck:error --styleCheck:usages"
import strutils