Skip to content

Commit 7a23a1a

Browse files
authored
Merge pull request #39 from passbolt/v5-run-workflow
V5 run workflow
2 parents 8679805 + eaf92f3 commit 7a23a1a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/.go.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Go
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main, v5]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main, v5]
88

99
jobs:
1010
test:
@@ -16,19 +16,19 @@ jobs:
1616
go-version: 1.23
1717
- name: "Setup Passbolt"
1818
run: |
19-
git clone https://github.com/passbolt/passbolt_docker.git ../passbolt_docker
20-
cd ../passbolt_docker
21-
docker compose -f docker-compose/docker-compose-ce.yaml up -d
22-
docker ps -a
19+
git clone https://github.com/passbolt/passbolt_docker.git ../passbolt_docker
20+
cd ../passbolt_docker
21+
docker compose -f docker-compose/docker-compose-ce.yaml up -d
22+
docker ps -a
2323
- name: "Test"
2424
run: |
25-
docker exec docker-compose-passbolt-1 sh -c '/usr/bin/wait-for.sh -t 30 localhost:443'
26-
output=$(docker exec docker-compose-passbolt-1 sh -c 'su -m -c "/usr/share/php/passbolt/bin/cake \
27-
passbolt register_user \
28-
29-
-f yourname \
30-
-l surname \
31-
-r admin" -s /bin/sh www-data')
32-
export REG_URL=$(echo ${output##* your mailbox or here: } | tr -d '\n')
33-
echo "Register with $REG_URL"
34-
go test -v ./...
25+
docker exec docker-compose-passbolt-1 sh -c '/usr/bin/wait-for.sh -t 30 localhost:443'
26+
output=$(docker exec docker-compose-passbolt-1 sh -c 'su -m -c "/usr/share/php/passbolt/bin/cake \
27+
passbolt register_user \
28+
29+
-f yourname \
30+
-l surname \
31+
-r admin" -s /bin/sh www-data')
32+
export REG_URL=$(echo ${output##* your mailbox or here: } | tr -d '\n')
33+
echo "Register with $REG_URL"
34+
go test -v ./...

0 commit comments

Comments
 (0)