Upgrade Go to 1.20, other libraries to remove vulnerabilities (#41) #98
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: V1 Alibi Explainer Tests | |
on: | |
push: | |
branches: [ master, rabbitmq* ] | |
pull_request: | |
branches: [ master, rabbitmq* ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
container: seldonio/python-builder:0.6 | |
steps: | |
- uses: actions/checkout@v2 | |
- 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.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.1.15 | |
virtualenvs-create: false | |
- name: test-python | |
run: | | |
pip install --upgrade pip setuptools | |
make -C components/alibi-explain-server dev_install build_apis test |