From 97f251c46853e251baf7ff2597a723637f3e347d Mon Sep 17 00:00:00 2001 From: Michel Bardelmeijer Date: Sat, 4 Dec 2021 16:03:48 +0100 Subject: [PATCH] Run tests via composer --- .github/workflows/run-tests.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 106a458..40876db 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,7 +1,6 @@ name: run-tests -#on: [push, pull_request] -on: [push] +on: [push, pull_request] jobs: test: @@ -11,7 +10,7 @@ jobs: matrix: os: [ubuntu-latest] php: [8.0] - dependency-version: [prefer-stable] # prefer-lowest, + dependency-version: [prefer-stable, prefer-lowest] name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} @@ -37,4 +36,4 @@ jobs: sudo pip install unoserver - name: Execute tests - run: vendor/bin/phpunit + run: composer test