-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (36 loc) · 997 Bytes
/
validations.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
name: Buildbot Validations
on:
push:
paths:
- "**.py"
- "**.cfg"
- "**.tac"
jobs:
test:
name: Check buildbot config on Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U pip setuptools wheel
pip install -r requirements.txt
- name: Check config
run: |
cd master
echo "$GITHUB_TOKEN" > github_token.txt
cp github_token.txt buildbot_www_pass.txt
cp github_token.txt halide_bb_pass.txt
cp github_token.txt webhook_token.txt
buildbot checkconfig