Skip to content

fix: requirements.txt to reduce vulnerabilities #549

fix: requirements.txt to reduce vulnerabilities

fix: requirements.txt to reduce vulnerabilities #549

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
env:
API_TOKEN: ${{ secrets.TEST_API_TOKEN }}
DATASET_ID: ${{ secrets.DATASET_ID }}
PDF_DATASET_ID: ${{ secrets.PDF_DATASET_ID }}
MODEL_NAME: ${{ secrets.MODEL_NAME }}
WORKFLOW_ID: ${{ secrets.WORKFLOW_ID }}
MODEL_ID: ${{ secrets.MODEL_ID }}
MODEL_GROUP_ID: ${{ secrets.MODEL_GROUP_ID }}
HOST_URL: try.indico.io
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -e .[full]
- name: Run formatter
run: |
black indico_toolkit
- name: Run tests
run: |
pytest