summaryrefslogtreecommitdiffstats
path: root/pkg/model/testdata/strategy/push.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-10-20 23:07:42 +0200
committerDaniel Baumann <daniel@debian.org>2024-11-09 15:38:42 +0100
commit714c83b2736d7e308bc33c49057952490eb98be2 (patch)
tree1d9ba7035798368569cd49056f4d596efc908cd8 /pkg/model/testdata/strategy/push.yml
parentInitial commit. (diff)
downloadforgejo-act-714c83b2736d7e308bc33c49057952490eb98be2.tar.xz
forgejo-act-714c83b2736d7e308bc33c49057952490eb98be2.zip
Adding upstream version 1.21.4.HEADupstream/1.21.4upstreamdebian
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'pkg/model/testdata/strategy/push.yml')
-rw-r--r--pkg/model/testdata/strategy/push.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/pkg/model/testdata/strategy/push.yml b/pkg/model/testdata/strategy/push.yml
new file mode 100644
index 0000000..89bea6e
--- /dev/null
+++ b/pkg/model/testdata/strategy/push.yml
@@ -0,0 +1,50 @@
+---
+jobs:
+ strategy-all:
+ name: ${{ matrix.node-version }} | ${{ matrix.site }} | ${{ matrix.datacenter }}
+ runs-on: ubuntu-latest
+ steps:
+ - run: echo 'Hello!'
+ strategy:
+ fail-fast: false
+ matrix:
+ datacenter:
+ - site-c
+ - site-d
+ exclude:
+ - datacenter: site-d
+ node-version: 14.x
+ site: staging
+ include:
+ - php-version: 5.4
+ - datacenter: site-a
+ node-version: 10.x
+ site: prod
+ - datacenter: site-b
+ node-version: 12.x
+ site: dev
+ node-version: [14.x, 16.x]
+ site:
+ - staging
+ max-parallel: 2
+ strategy-no-matrix:
+ runs-on: ubuntu-latest
+ steps:
+ - run: echo 'Hello!'
+ strategy:
+ fail-fast: false
+ max-parallel: 2
+ strategy-only-fail-fast:
+ runs-on: ubuntu-latest
+ steps:
+ - run: echo 'Hello!'
+ strategy:
+ fail-fast: false
+ strategy-only-max-parallel:
+ runs-on: ubuntu-latest
+ steps:
+ - run: echo 'Hello!'
+ strategy:
+ max-parallel: 2
+'on':
+ push: null