Install dependencies in separate step

This commit is contained in:
Chris Coutinho
2025-05-05 03:04:31 +02:00
parent afd8e4268f
commit e13b613d63
+8 -4
View File
@@ -35,15 +35,19 @@ jobs:
run: |
docker compose exec app php occ app:enable notes
- name: Install dependencies
run: |
sudo apt update -y && sudo apt install -y pipx
pipx install poetry
poetry install
env:
DEBIAN_FRONTEND: "noninteractive"
# Add subsequent steps here, e.g., running tests
- name: Run tests
env:
NEXTCLOUD_HOST: "http://localhost:8080"
NEXTCLOUD_USERNAME: "admin"
NEXTCLOUD_PASSWORD: "admin"
DEBIAN_FRONTEND: "noninteractive"
run: |
sudo apt update -y && sudo apt install -y pipx
pipx install poetry
poetry install
poetry run python -m pytest