-
Notifications
You must be signed in to change notification settings - Fork 831
50 lines (47 loc) · 1.28 KB
/
alibiexplainer_tests.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
name: V1 Alibi Explainer Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
version: 1.1.15
python-version: 3.8
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Install dependencies
run: |
pip install --upgrade pip setuptools
make -C components/alibi-explain-server dev_install
- name: Lint
run: |
make -C components/alibi-explain-server lint
python-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.1.15
virtualenvs-create: false
- name: Install dependencies
run: |
pip install --upgrade pip setuptools
make -C components/alibi-explain-server dev_install
- name: test-python
run: |
make -C components/alibi-explain-server build_apis test