diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-03-14 22:20:32 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-03-15 17:39:30 +0300 |
commit | b8cf72b19362309afc43e5b6be8a07993a72ec1d (patch) | |
tree | 636515f7c5d0a60dccd1b1dd8b29aeaadf9ddef9 | |
parent | 646376b0cbe8e2555d79a0c7730de6415c4c012a (diff) |
Run tests against all supported php versions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | .github/workflows/lint.yml | 2 | ||||
-rw-r--r-- | .github/workflows/phpunit.yml | 4 | ||||
-rw-r--r-- | .github/workflows/static-analysis.yml | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b58f01b4c..bd0f2f53e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['7.4', '8.0'] + php-versions: ['7.4', '8.0', '8.1'] name: php${{ matrix.php-versions }} lint steps: - name: Checkout diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 7d0905bfb..e86e7d6eb 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -18,7 +18,7 @@ jobs: # do not stop on another job's failure fail-fast: false matrix: - php-versions: ['7.4', '8.0'] + php-versions: ['7.4', '8.0', '8.1'] databases: ['sqlite'] server-versions: ['master'] @@ -55,7 +55,7 @@ jobs: # do not stop on another job's failure fail-fast: false matrix: - php-versions: ['7.4', '8.0'] + php-versions: ['7.4', '8.0', '8.1'] databases: ['oci'] server-versions: ['master'] diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 4f40268c6..64c319467 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -8,6 +8,7 @@ jobs: strategy: matrix: ocp-version: [ 'dev-master' ] + php-version: [ '7.4', '8.0', '8.1' ] name: Nextcloud ${{ matrix.ocp-version }} steps: - name: Checkout @@ -15,7 +16,7 @@ jobs: - name: Set up php uses: shivammathur/setup-php@master with: - php-version: 7.4 + php-version: {{ matrix.php-version }} tools: composer:v1 coverage: none - name: Install dependencies |