Skip to content

minor docs cleanup #103

minor docs cleanup

minor docs cleanup #103

Workflow file for this run

# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Test
on:
# only runs tests if pushed directly to master branch and for any PR
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 5
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install graphviz
run: sudo apt-get install -y graphviz libgraphviz-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade tox tox-gh-actions
- name: Set up safetycli
uses: pyupio/safety-action@v1
with:
api-key: ${{ secrets.SAFETY_API_KEY }}
- name: Test with tox
run: tox -vv
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
name: Python ${{ matrix.python-version }}