Tägliche Tests #475
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: Tests | |
run-name: Tägliche Tests | |
on: | |
# > [...] scheduled workflows are automatically disabled when no repository activity has occurred in 60 days. | |
schedule: | |
# Täglich um 9:30 UTC | |
- cron: '30 9 * * *' | |
# Erlaubt manuelles Ausführen. | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ">=3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install -r requirements.txt | |
- name: Test with pytest | |
run: | | |
pytest --basetemp=out | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: out | |
path: | | |
out/ | |
!out/*current |