Skip to content

Commit

Permalink
Correct tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec committed Dec 20, 2023
1 parent e51f9bb commit f7a43a3
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/pr-laravel-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@ jobs:
strategy:
fail-fast: false
matrix:
leia-test:
- examples/7.1
- examples/7.2
- examples/7.4
- examples/8.1
- examples/8.1-mysql8
lando-version:
- 3-dev-slim
os:
- ubuntu-22.04
node-version:
- '18'
leia-test:
- examples/laravel
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -34,18 +30,20 @@ jobs:
cache: npm
- name: Install NPM dependencies
run: npm clean-install --prefer-offline --frozen-lockfile
- name: Bundle Deps
uses: lando/prepare-release-action@v2
with:
lando-plugin: true
version: dev
sync: false
- name: Setup lando ${{ matrix.lando-version }}
uses: lando/setup-lando@v2
with:
lando-version: ${{ matrix.lando-version }}
config: |
plugins.@lando/laravel=/home/runner/work/laravel/laravel
setup.skipCommonPlugins=true
setup.plugins.@lando/laravel=/home/runner/work/laravel/laravel
telemetry: false
- name: Verify Lando works and we are dogfooding this plugin for tests
run: |
lando --clear
lando version
lando config --path plugins | grep laravel | grep /home/runner/work/laravel/laravel || (echo "::error:: Not dogfooding this plugin correctly!" && exit 1)
- name: Run Leia Tests
uses: lando/run-leia-action@v2
with:
Expand Down

0 comments on commit f7a43a3

Please sign in to comment.