Skip to content

zms-formulator: fix SQLAlchemy to 1.4 #1734

zms-formulator: fix SQLAlchemy to 1.4

zms-formulator: fix SQLAlchemy to 1.4 #1734

Workflow file for this run

# Inspired by https://github.com/zopefoundation/Zope/blob/master/.github/workflows/tests.yml
name: tests
on:
push:
pull_request:
schedule:
- cron: '0 12 * * 0' # run once a week on Sunday
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
strategy:
# We want to see all failures:
fail-fast: false
matrix:
os:
- ubuntu
config:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
runs-on: ${{ matrix.os }}-latest
name: ${{ matrix.os }}-${{ matrix.config }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config }}
- name: Pip cache
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.config }}-${{ hashFiles('setup.*', 'requirements*') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.config }}-
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip pytest
pip install -e .
- name: Test
run: |
tree -L 1
pytest ./tests/