Run tests on more versions

Signed-off-by: Sora Morimoto <sora@morimoto.io>
This commit is contained in:
Sora Morimoto
2021-01-23 10:24:41 +09:00
parent 068420ef9f
commit 8852866fd0

View File

@@ -12,6 +12,10 @@ jobs:
matrix: matrix:
container: container:
- ubuntu:latest - ubuntu:latest
php-version:
- 7.4.14
- 8.0.0
- latest
env: env:
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
@@ -29,13 +33,17 @@ jobs:
uses: asdf-vm/actions/plugin-test@v1 uses: asdf-vm/actions/plugin-test@v1
with: with:
command: php --version command: php --version
version: 8.0.0 version: ${{ matrix.php-version }}
plugin-test-vm: plugin-test-vm:
strategy: strategy:
matrix: matrix:
os: os:
- macos-latest - macos-latest
php-version:
- 7.4.14
- 8.0.0
- latest
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@@ -47,10 +55,10 @@ jobs:
uses: asdf-vm/actions/plugin-test@v1 uses: asdf-vm/actions/plugin-test@v1
with: with:
command: php --version command: php --version
version: 8.0.0 version: ${{ matrix.php-version }}
format: format:
runs-on: macos-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code