Skip to content

⬆️ Update safety requirement from <3.1.0,>=1.10.3 to >=1.10.3,<3.3.0 #852

⬆️ Update safety requirement from <3.1.0,>=1.10.3 to >=1.10.3,<3.3.0

⬆️ Update safety requirement from <3.1.0,>=1.10.3 to >=1.10.3,<3.3.0 #852

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.9"]
env:
# cache busting if requirements haven't changed
CACHE_EPOCH: 0
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Hatch
run: pip install --upgrade hatch
- name: Set up cache
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ env.CACHE_EPOCH }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
- name: Install dependencies
run: |
pip install .[dev]
- name: Pytest
run: |
pytest