Install dependencies in separate step
This commit is contained in:
@@ -35,15 +35,19 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker compose exec app php occ app:enable notes
|
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
|
# Add subsequent steps here, e.g., running tests
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
env:
|
env:
|
||||||
NEXTCLOUD_HOST: "http://localhost:8080"
|
NEXTCLOUD_HOST: "http://localhost:8080"
|
||||||
NEXTCLOUD_USERNAME: "admin"
|
NEXTCLOUD_USERNAME: "admin"
|
||||||
NEXTCLOUD_PASSWORD: "admin"
|
NEXTCLOUD_PASSWORD: "admin"
|
||||||
DEBIAN_FRONTEND: "noninteractive"
|
|
||||||
run: |
|
run: |
|
||||||
sudo apt update -y && sudo apt install -y pipx
|
|
||||||
pipx install poetry
|
|
||||||
poetry install
|
|
||||||
poetry run python -m pytest
|
poetry run python -m pytest
|
||||||
|
|||||||
Reference in New Issue
Block a user