-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (51 loc) · 1.71 KB
/
action.yaml
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
name: Test IPs
on: [push]
jobs:
# Prepare-Tests-Matrix:
# runs-on: ubuntu-latest
# outputs:
# test: ${{ steps.set-tests-matrix.outputs.test }}
# steps:
# - name: Check out repository code
# uses: actions/checkout@v4
# - name: Set Tests Matrix
# id: set-tests-matrix
# run: echo "test=$(python3 ./.github/scripts/get_tests_matrix.py)" >> "$GITHUB_OUTPUT"
#
# Test1:
# runs-on: ubuntu-latest
# needs: [Prepare-Tests-Matrix]
# name: ${{ matrix.tests.name }}/${{ matrix.tests.test-names }}
# strategy:
# fail-fast: false
# matrix: ${{ fromJSON(needs.Prepare-Tests-Matrix.outputs.test) }}
# steps:
# - name: Check out repository code
# uses: actions/checkout@v4
# - name: Run Test
# uses: ./.github/actions/run-test
# with:
# url: ${{ matrix.tests.url }}
# test-names: ${{ matrix.tests.test-names }}
# name: ${{ matrix.tests.name }}
Prepare-Tests-Matrix-Alt:
runs-on: ubuntu-latest
outputs:
test: ${{ steps.set-tests-matrix.outputs.test }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set Tests Matrix
id: set-tests-matrix
run: echo "test=$(python3 ./.github/scripts/get_tests_matrix_alt.py)" >> "$GITHUB_OUTPUT"
Test2:
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.Prepare-Tests-Matrix-Alt.outputs.test) }}
needs: [Prepare-Tests-Matrix-Alt]
name: Run Test (Separate workflow)
uses: ./.github/workflows/run_test.yaml
with:
url: ${{ matrix.tests.url }}
test-names: ${{ matrix.tests.test-names }}
name: ${{ matrix.tests.name }}