Fix tests #345
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Install Devbox | |
uses: jetpack-io/devbox-install-action@v0.4.0 | |
with: | |
enable-cache: true | |
- name: Check formatting | |
run: devbox run -- composer run-script format-check | |
- name: Test | |
run: devbox run test | |
test_php_81: | |
name: Test (PHP 8.1) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Install Devbox | |
uses: jetpack-io/devbox-install-action@v0.4.0 | |
with: | |
enable-cache: true | |
project-path: 'ci/php-8_1' | |
- name: Test | |
run: devbox --config ci/php-8_1 run test |