diff options
| author | xXx-caillou-xXx | 2021-01-11 21:42:42 +0100 |
|---|---|---|
| committer | GitHub | 2021-01-11 20:42:42 +0000 |
| commit | 57e5a6a5a9cf3b1238769dac425f21ebc65a6d64 (patch) | |
| tree | d1cb1aa599a43f789c87efe35c5949ea164d953f /.github/workflows | |
| parent | 1f0a382152933feec3184f0e8dc00ae4b89cd743 (diff) | |
Add Alpine on php7 in the CI
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/distributions.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/distributions.yml b/.github/workflows/distributions.yml index 362ed96..d36435c 100644 --- a/.github/workflows/distributions.yml +++ b/.github/workflows/distributions.yml | |||
| @@ -89,3 +89,25 @@ jobs: | |||
| 89 | run: | | 89 | run: | |
| 90 | grep -r . ./src/tests/*/*.out | 90 | grep -r . ./src/tests/*/*.out |
| 91 | grep -r . ./src/tests/*/*.diff | 91 | grep -r . ./src/tests/*/*.diff |
| 92 | |||
| 93 | alpine: | ||
| 94 | runs-on: ubuntu-latest | ||
| 95 | container: alpine:edge | ||
| 96 | steps: | ||
| 97 | - name: Checkout code | ||
| 98 | uses: actions/checkout@v2 | ||
| 99 | - name: Remove php8 tests for php7 | ||
| 100 | run: rm -rf src/tests/*php8*/ | ||
| 101 | - name: Remove tests failing on alpine for wathever reason | ||
| 102 | run: rm -rf src/tests/*session*/ src/tests/broken_configuration/ src/tests/*cookie* src/tests/upload_validation/ | ||
| 103 | - name: Install dependencies | ||
| 104 | run: apk add php7-dev php7-cgi php7-simplexml php7-xml pcre-dev build-base php7-pear php7-openssl | ||
| 105 | - name: Install pecl | ||
| 106 | run: pecl install vld-beta | ||
| 107 | - name: Build and run the testsuite | ||
| 108 | run: make tests | ||
| 109 | - name: Show logs in case of failure | ||
| 110 | if: ${{ failure() }} | ||
| 111 | run: | | ||
| 112 | grep -r . ./src/tests/*/*.out | ||
| 113 | grep -r . ./src/tests/*/*.diff | ||
