fix: rebuild indexes after major changing/deleting bibs and cards ope… #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Tests/Lints | |
on: | |
push: | |
paths: | |
- "sportorg/**" | |
- "tests/**" | |
- "poetry.lock" | |
branches: [ master ] | |
pull_request: | |
paths: | |
- "sportorg/**" | |
- "tests/**" | |
- "poetry.lock" | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install python dependencies | |
run: pip install poetry && poetry install | |
- name: Run linters | |
run: poetry run poe lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Init .env | |
run: cp .env.example .env | |
- name: Install python dependencies | |
run: pip install poetry && poetry install | |
- name: Run test | |
run: poetry run poe test |