Skip to content

update dependencies for migration files (#5) #8

update dependencies for migration files (#5)

update dependencies for migration files (#5) #8

Workflow file for this run

name: Tests
on:
push:
branches: [main, master]
paths-ignore:
- "exhibitors/locale/**"
pull_request:
branches: [main, master]
paths-ignore:
- "exhibitors/locale/**"
jobs:
test:
runs-on: ubuntu-latest
name: Tests
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y gettext
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]" psycopg2-binary pytest
- name: Run tests for exhibitors plugin
run: pytest tests --reruns 3