Use latest released version in security_tests.yml #1544
Workflow file for this run
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 Detect 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: | |
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-detect-server dev_install | |
- name: Lint | |
run: | | |
make -C components/alibi-detect-server lint | |
python-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Rclone | |
run: | | |
wget https://downloads.rclone.org/v1.62.2/rclone-v1.62.2-linux-amd64.zip | |
unzip rclone-v1.62.2-linux-amd64.zip | |
mv rclone-v1.62.2-linux-amd64/rclone /usr/local/bin/rclone | |
- 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-detect-server dev_install | |
- name: Test | |
run: | | |
make -C components/alibi-detect-server test |