Fix(requirements): bump dependencies, mainly to eliminate third-party security issues #3554
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: CI | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
push: | |
branches: | |
- 'master' | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
component: [builder, cli, client, machine, reporters, serializer, server, util, workflow, formatting, allelse, docker] | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: "x64" | |
- uses: actions/cache@v1 | |
if: startsWith(runner.os, 'Linux') | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-new-${{ hashFiles('requirements/*requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.python-version }}-pip-new- | |
- name: Install | |
run: | | |
pip install -r requirements/full_requirements.txt | |
pip install -r requirements/test_requirements.txt | |
- name: Test ${{ matrix.component }} | |
run: bash scripts/tests.sh -n -p ${{ matrix.component }} | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.10' | |
architecture: 'x64' | |
- name: Install deps | |
run: | | |
pip install --upgrade pip | |
pip install .[docs] | |
- name: Build Docs | |
run: make docs |