Skip to content

Commit a7b3060

Browse files
authored
Use matrix for self-hosted python.yaml workflow (#222)
1 parent 542b006 commit a7b3060

File tree

4 files changed

+14
-51
lines changed

4 files changed

+14
-51
lines changed

.github/workflows/python.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ on:
66

77
jobs:
88
build:
9-
runs-on: 'ubuntu-latest'
109
strategy:
10+
fail-fast: false
1111
matrix:
1212
python-version: ['3.12']
13-
13+
runner:
14+
- 'ubuntu-latest'
15+
- 'self-hosted'
16+
17+
runs-on: ${{ matrix.runner }}
1418
steps:
1519
- uses: 'actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744' # ratchet:actions/checkout@v3
1620
- name: 'Set up Python ${{ matrix.python-version }}'

.github/workflows/python_selfhost.yaml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/pytype.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ on:
55

66
jobs:
77
check:
8-
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
runner:
12+
- 'ubuntu-latest'
13+
- 'self-hosted'
14+
runs-on: ${{ matrix.runner }}
915
steps:
1016
- uses: actions/checkout@v2
1117
- name: pytypes checker
1218
uses: theahura/pytypes-action@main
1319
with:
14-
args: -d import-error
20+
args: -d import-error

.github/workflows/pytype_selfhost.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)