summaryrefslogtreecommitdiff
path: root/.github/workflows/distributions.yml
diff options
context:
space:
mode:
authorBen Fuhrmannek2022-01-12 19:55:56 +0100
committerBen Fuhrmannek2022-01-12 19:55:56 +0100
commit6cc6d844da9ae6216e373349413e719fd2465023 (patch)
tree401407b31a945e6e105ae14b01eb02eb9a5aa920 /.github/workflows/distributions.yml
parent80228c69c19b131764cd5848071d25f7ba0ad249 (diff)
more alpine test fixes
Diffstat (limited to '.github/workflows/distributions.yml')
-rw-r--r--.github/workflows/distributions.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/distributions.yml b/.github/workflows/distributions.yml
index 27d0c5d..79ae9b5 100644
--- a/.github/workflows/distributions.yml
+++ b/.github/workflows/distributions.yml
@@ -101,19 +101,17 @@ jobs:
101 - name: Remove tests failing on alpine for wathever reason 101 - name: Remove tests failing on alpine for wathever reason
102 run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt /tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt 102 run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt /tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt
103 - name: Install dependencies 103 - name: Install dependencies
104 run: apk add php7-dev php7-cgi php7-simplexml php7-xml pcre-dev build-base php7-pear php7-openssl php7-session 104 run: apk add php7-dev php7-cgi php7-simplexml php7-xml pcre-dev build-base php7-pear php7-openssl php7-session bash
105 - name: Install pecl 105 - name: Install pecl
106 continue-on-error: true 106 continue-on-error: true
107 run: pecl install vld-beta 107 run: pecl install vld-beta
108 - name: Build SP and run the testsuite 108 - name: Build SP and run the testsuite
109 continue-on-error: true
110 run: | 109 run: |
111 make release 110 make release
112 ln -s $(php -r 'echo ini_get("extension_dir");')/* src/modules/ 111 ln -s $(php -r 'echo ini_get("extension_dir");')/* src/modules/
113 make tests 112 make tests
114 - name: Show logs in case of failure 113 - name: Show logs in case of failure
115 if: ${{ failure() }} 114 if: ${{ failure() }}
116 continue-on-error: true
117 run: | 115 run: |
118 grep -r . --include='*.log' src/tests 116 grep -r . --include='*.log' src/tests
119 117
@@ -127,18 +125,16 @@ jobs:
127 - name: Remove tests failing on alpine for wathever reason 125 - name: Remove tests failing on alpine for wathever reason
128 run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt 126 run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt
129 - name: Install dependencies 127 - name: Install dependencies
130 run: apk add php8-dev php8-cgi php8-simplexml php8-xml pcre-dev build-base php8-pear php8-openssl php8-session php8-curl 128 run: apk add php8-dev php8-cgi php8-simplexml php8-xml pcre-dev build-base php8-pear php8-openssl php8-session php8-curl bash
131 - name: Install pecl 129 - name: Install pecl
132 continue-on-error: true 130 continue-on-error: true
133 run: pecl install vld-beta 131 run: pecl install vld-beta
134 - name: Build SP and run the testsuite 132 - name: Build SP and run the testsuite
135 continue-on-error: true
136 run: | 133 run: |
137 make release 134 make release
138 ln -s $(php -r 'echo ini_get("extension_dir");')/* src/modules/ 135 ln -s $(php -r 'echo ini_get("extension_dir");')/* src/modules/
139 make tests 136 make tests
140 - name: Show logs in case of failure 137 - name: Show logs in case of failure
141 if: ${{ failure() }} 138 if: ${{ failure() }}
142 continue-on-error: true
143 run: | 139 run: |
144 grep -r . --include='*.log' src/tests 140 grep -r . --include='*.log' src/tests