Merge pull request #211 from mlocati/test-extensions-order

Check order of extensions in data/supported-extensions
pull/210/head
Michele Locati 2020-12-10 12:11:06 +01:00 committed by GitHub
commit c45663069b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -4,6 +4,20 @@ on:
- pull_request - pull_request
jobs: jobs:
check_syntax_data:
name: Check data syntax
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check order supported extensions list
run: |
sort -o data/supported-extensions.sorted data/supported-extensions
if ! DIFF="$(diff -u data/supported-extensions data/supported-extensions.sorted)"; then
printf 'The order of extensions in data/supported-extensions is wrong.\nThe list of required changes is:\n\n%s\n' "$DIFF" >&2
exit 1
fi
rm data/supported-extensions.sorted
check_syntax_shell: check_syntax_shell:
name: Check shell coding style name: Check shell coding style
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -41,6 +55,7 @@ jobs:
run: composer run-script lint -- --dry-run --diff run: composer run-script lint -- --dry-run --diff
test_extensions: test_extensions:
needs: needs:
- check_syntax_data
- check_syntax_shell - check_syntax_shell
- check_syntax_php - check_syntax_php
strategy: strategy:
@ -67,6 +82,7 @@ jobs:
test_restoring_packages: test_restoring_packages:
name: Test restoring packages name: Test restoring packages
needs: needs:
- check_syntax_data
- check_syntax_shell - check_syntax_shell
- check_syntax_php - check_syntax_php
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -79,6 +95,7 @@ jobs:
test_custom_version: test_custom_version:
name: Test installing specific versions name: Test installing specific versions
needs: needs:
- check_syntax_data
- check_syntax_shell - check_syntax_shell
- check_syntax_php - check_syntax_php
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -56,8 +56,8 @@ rdkafka 5.5 5.6 7.0 7.1 7.2 7.3 7.4
recode 5.5 5.6 7.0 7.1 7.2 7.3 recode 5.5 5.6 7.0 7.1 7.2 7.3
redis 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 redis 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
shmop 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 shmop 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
snuffleupagus 7.0 7.1 7.2 7.3 7.4
snmp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 snmp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
snuffleupagus 7.0 7.1 7.2 7.3 7.4
soap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 soap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0