test: added skip to CT test #20
Workflow file for this run
This file contains hidden or 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 CommuniAPI | |
| on: [ push, pull_request ] | |
| env: | |
| CT_TOKEN: ${{ secrets.CT_TOKEN }} | |
| CT_DOMAIN: ${{ vars.CT_DOMAIN }} | |
| COMMUNI_TOKEN: ${{secrets.COMMUNI_TOKEN}} | |
| COMMUNI_SERVER: ${{vars.COMMUNI_SERVER}} | |
| COMMUNI_APPID: ${{secrets.COMMUNI_APPID}} | |
| jobs: | |
| list-domain: | |
| runs-on: ubuntu-latest | |
| environment: ev_kirche_baiersbronn | |
| steps: | |
| - name: show CT_DOMAIN for this job | |
| run: echo $CT_DOMAIN | |
| - name: show COMMUNI_SERVER for this job | |
| run: echo $COMMUNI_SERVER | |
| - name: show COMMUNI_APPID for this job | |
| run: echo $COMMUNI_APPID | |
| test: | |
| runs-on: ubuntu-latest | |
| environment: ev_kirche_baiersbronn | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5.3.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 Tests | |
| run: | | |
| pytest tests/* | |
| env: | |
| POETRY_HOME: ${{ github.workspace }}/.poetry |