-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (51 loc) · 1.39 KB
/
pipeline-beyond-doubt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
name: Pipeline beyond doubt
on:
pull_request:
branches: [main]
paths: # waiting for https://github.com/actions/runner/issues/2324
- .dx/**
- .env/**
- .github/**
- tools/**
workflow_dispatch:
jobs:
checking:
name: Checking in ${{ matrix.environ.name }} env
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
environ:
- name: green
os: ubuntu-22.04
- name: amber
os: ubuntu-20.04
runs-on: ${{ matrix.environ.os }}
permissions:
checks: write
packages: write
pull-requests: write
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/prepare
with:
name: ${{ matrix.environ.name }}
tools: python java docker
token: ${{ secrets.GITHUB_TOKEN }}
- run: ansible-playbook sources.yml -l test:pipeline
working-directory: .dx
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: >
ansible-playbook solution.yml
-e environ=${{ matrix.environ.name }}
-e repository_mode=read_write
-e capture_solution=false
-e usage=toy
-e prefs=turing
working-directory: .dx
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}