Skip to content

Commit

Permalink
Merge pull request #51 from Codeception/github-actions-updates
Browse files Browse the repository at this point in the history
Run tests on PHP 8.2, upgrade actions
  • Loading branch information
Naktibalda authored Feb 9, 2023
2 parents f556168 + 4cc91aa commit 5c1657d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:

strategy:
matrix:
php: [8.0, 8.1]
php: [8.0, 8.1, 8.2]
laravel: [8]

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -25,7 +25,7 @@ jobs:

- name: Checkout Laravel 8 Sample
if: matrix.laravel == 8
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: codeception/laravel-module-tests
path: framework-tests
Expand All @@ -36,7 +36,7 @@ jobs:
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache composer dependencies
uses: actions/cache@v2.1.3
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand Down Expand Up @@ -64,4 +64,4 @@ jobs:
working-directory: framework-tests

- name: Run test suite
run: php vendor/bin/codecept run Functional -c framework-tests
run: php vendor/bin/codecept run Functional -c framework-tests

0 comments on commit 5c1657d

Please sign in to comment.