summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/matrix
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/runner/testdata/matrix')
-rw-r--r--pkg/runner/testdata/matrix/push.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/runner/testdata/matrix/push.yml b/pkg/runner/testdata/matrix/push.yml
new file mode 100644
index 0000000..a975c1e
--- /dev/null
+++ b/pkg/runner/testdata/matrix/push.yml
@@ -0,0 +1,25 @@
+name: matrix
+on: push
+
+jobs:
+ build:
+ name: PHP ${{ matrix.os }} ${{ matrix.node}}
+ runs-on: ${{ matrix.os }}
+ steps:
+ - run: echo ${NODE_VERSION} | grep ${{ matrix.node }}
+ env:
+ NODE_VERSION: ${{ matrix.node }}
+ strategy:
+ matrix:
+ os: [ubuntu-18.04, macos-latest]
+ node: [4, 6, 8, 10]
+
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ node: [8.x, 10.x, 12.x, 13.x]
+ steps:
+ - run: echo ${NODE_VERSION} | grep ${{ matrix.node }}
+ env:
+ NODE_VERSION: ${{ matrix.node }}