Skip to content

Commit 80290d1

Browse files
committed
split actions into php 7 and 8 where necessary
1 parent 0f1321b commit 80290d1

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/no-db-test.yml renamed to .github/workflows/no-db-test-php-7.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php-version: ['7.1', '7.4', '8.0', '8.1']
16+
php-version: ['7.1', '7.2', '7.3', '7.4']
1717

1818
steps:
1919
- uses: actions/checkout@v2
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Tests without a database
2+
3+
on:
4+
push:
5+
branches: [ '**' ]
6+
pull_request:
7+
branches: ['**']
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-latest
12+
name: "Running Tests for PHP ${{ matrix.php-version }}"
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
php-version: ['8.0', '8.1']
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: php-actions/composer@v6
21+
with:
22+
progress: yes
23+
php_version: ${{ matrix.php-version }}
24+
php_extensions: bcmath
25+
version: 2
26+
- uses: php-actions/phpunit@v3
27+
with:
28+
configuration: phpunit.xml.dist
29+
php_version: ${{ matrix.php-version }}
30+
php_extensions: bcmath
31+
args: --testsuite "NoDatabase"

0 commit comments

Comments
 (0)