Skip to content

Merge pull request #1363 from opencobra/chore-actions #78

Merge pull request #1363 from opencobra/chore-actions

Merge pull request #1363 from opencobra/chore-actions #78

Workflow file for this run

name: Safety
on:
push:
branches:
- stable
- devel
tags:
- "[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+a[0-9]+"
jobs:
safety:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install tox tox-gh-actions
- name: safety
run: tox -e safety