diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/distributions_php7.yml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/.github/workflows/distributions_php7.yml b/.github/workflows/distributions_php7.yml index 12fa207..60eedd2 100644 --- a/.github/workflows/distributions_php7.yml +++ b/.github/workflows/distributions_php7.yml | |||
| @@ -94,28 +94,3 @@ jobs: | |||
| 94 | if: ${{ failure() }} | 94 | if: ${{ failure() }} |
| 95 | run: | | 95 | run: | |
| 96 | grep -r . --include='*.log' src/tests | 96 | grep -r . --include='*.log' src/tests |
| 97 | |||
| 98 | alpine: | ||
| 99 | runs-on: ubuntu-latest | ||
| 100 | container: alpine:latest | ||
| 101 | steps: | ||
| 102 | - name: Checkout code | ||
| 103 | uses: actions/checkout@v2 | ||
| 104 | - name: Remove php8 tests for php7 | ||
| 105 | run: rm -rf src/tests/*php8*/ src/tests/*/*_php8.phpt | ||
| 106 | - name: Remove tests failing on alpine for wathever reason | ||
| 107 | run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt /tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt | ||
| 108 | - name: Install dependencies | ||
| 109 | run: apk add php7-dev php7-cgi php7-simplexml php7-xml pcre-dev build-base php7-pear php7-openssl php7-session bash grep re2c | ||
| 110 | - name: Install pecl | ||
| 111 | continue-on-error: true | ||
| 112 | run: pecl install vld-beta | ||
| 113 | - name: Build SP and run the testsuite | ||
| 114 | run: | | ||
| 115 | make release | ||
| 116 | ln -s $(php -r 'echo ini_get("extension_dir");')/* src/modules/ | ||
| 117 | make tests | ||
| 118 | - name: Show logs in case of failure | ||
| 119 | if: ${{ failure() }} | ||
| 120 | run: | | ||
| 121 | grep -r . --include='*.log' src/tests | ||
