Reduce excessive error logging on empty songbook entries #23
Workflow file for this run
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
# This workflow will install Python dependencies, run tests and ruff lint with a single version of Python | |
name: Python Lint & Pytest | |
on: | |
push: | |
pull_request: | |
env: | |
CT_DOMAIN: ${{ vars.CT_DOMAIN }} | |
CT_TOKEN: ${{ secrets.CT_TOKEN }} | |
jobs: | |
list-domain: | |
runs-on: ubuntu-latest | |
environment: Ev. Kirche Baiersbronn (ELKW1610.krz.tools) | |
steps: | |
- name: show CT_DOMAIN for this job | |
run: echo $CT_DOMAIN | |
build: | |
runs-on: ubuntu-latest | |
environment: Ev. Kirche Baiersbronn (ELKW1610.krz.tools) | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5.1.0 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: ruff check | |
run: | | |
ruff check | |
- name: Test with Pytest | |
run: | | |
python -m pytest |