-
Notifications
You must be signed in to change notification settings - Fork 574
56 lines (45 loc) · 1.46 KB
/
dev.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
54
55
56
name: Test the upcoming changes
on:
push:
branches-ignore:
- main
jobs:
dev:
env:
LABPASSPHRASE: ${{ secrets.LABPASSPHRASE }}
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Hi
run: echo "Hello World!"
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup Python
# uses: actions/setup-python@v3
# - name: Install Python requirements
# run: pip3 install -r requirements.txt
# - name: Run pre-commit on files
# uses: pre-commit/action@v3.0.0
# - name: Check paths for sites/site_1
# uses: dorny/paths-filter@v2
# id: filter-site1
# with:
# filters: |
# workflows:
# - 'sites/site_1/**'
# - name: Check paths for sites/site_2
# uses: dorny/paths-filter@v2
# id: filter-site2
# with:
# filters: |
# workflows:
# - 'sites/site_2/**'
# - name: Install collections
# run: ansible-galaxy collection install -r requirements.yml
# if: steps.filter-site1.outputs.workflows == 'true' || steps.filter-site2.outputs.workflows == 'true'
# - name: Test configuration for site1
# run: make build-site-1
# if: steps.filter-site1.outputs.workflows == 'true'
# - name: Test configuration for site2
# run: make build-site-2
# if: steps.filter-site2.outputs.workflows == 'true'