diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 81487a8c..512a2e37 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -11,21 +11,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Python einrichten - uses: actions/setup-python@v5 - with: - python-version: '3.11' # eure Version anpassen - - name: Dependencies installieren run: | - python -m venv .venv - source .venv/bin/activate - pip install -r requirements.txt --no-cache-dir + python3 -m venv .venv + .venv/bin/pip install -r requirements.txt --no-cache-dir - name: Tests ausführen - run: | - source .venv/bin/activate - pytest tests/ -v + run: .venv/bin/pytest tests/ -v deploy: runs-on: ubuntu-latest