Update cypress-tests.yml

This commit is contained in:
Peter Goodhall 2024-10-30 16:43:16 +00:00
parent 9b735d1ec3
commit 73af44997f

View File

@ -1,4 +1,3 @@
name: Cypress Tests
on: [pull_request, workflow_dispatch]
jobs:
cypress-e2e-tests:
@ -43,6 +42,11 @@ jobs:
cp .env.sample .env
fi
- name: Install Docker Compose
run: |
sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name)/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
- name: Build Docker services
run: docker-compose up -d