chore: version update #441
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: Python Tests ChurchToolsAPI | |
on: [ push, pull_request ] | |
env: | |
CT_TOKEN: ${{ secrets.CT_TOKEN }} | |
CT_USERS: ${{ secrets.CT_USERS }} | |
CT_DOMAIN: ${{ vars.CT_DOMAIN }} | |
jobs: | |
list-domain: | |
runs-on: ubuntu-latest | |
environment: ev_kirche_baiersbronn | |
steps: | |
- name: show CT_DOMAIN for this job | |
run: echo $CT_DOMAIN | |
test: | |
runs-on: ubuntu-latest | |
environment: ev_kirche_baiersbronn | |
steps: | |
- uses: actions/checkout@v4.2.1 | |
- name: Set up Python | |
uses: actions/setup-python@v5.2.0 | |
with: | |
python-version: '3.x' | |
- name: Install Poetry | |
run: | | |
pip install poetry | |
poetry config virtualenvs.create false # Skip creating a virtual environment | |
env: | |
POETRY_HOME: ${{ github.workspace }}/.poetry | |
- name: Install project dependencies | |
run: | | |
poetry install | |
env: | |
POETRY_HOME: ${{ github.workspace }}/.poetry | |
- name: Run pytest | |
run: | | |
pytest tests/ | |
env: | |
POETRY_HOME: ${{ github.workspace }}/.poetry | |