File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main, v5 ]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [main, v5 ]
8
8
9
9
jobs :
10
10
test :
@@ -16,19 +16,19 @@ jobs:
16
16
go-version : 1.23
17
17
- name : " Setup Passbolt"
18
18
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
23
23
- name : " Test"
24
24
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 ./...
You can’t perform that action at this time.
0 commit comments