-
Notifications
You must be signed in to change notification settings - Fork 6
32 lines (30 loc) · 1.06 KB
/
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
name: Buildbot Validations
on: [ push, pull_request ]
jobs:
test:
name: Check buildbot config on Python ${{ matrix.python-version }}
# TODO: should be ubuntu-latest, but actions/setup-python doesn't work with ubuntu 22 just yet
runs-on: ubuntu-20.04
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 --upgrade pip
python -m pip install importlib
python -m pip install importlib.metadata
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