Skip to content

Commit

Permalink
baseline test (#36)
Browse files Browse the repository at this point in the history
* baseline test

* rework dogfooding

---------

Co-authored-by: Mike Pirog <[email protected]>
  • Loading branch information
reynoldsalec and pirog authored Sep 23, 2023
1 parent 09a585e commit 8c5661b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr-docs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os:
Expand Down
2 changes: 2 additions & 0 deletions examples/.lando.local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugins:
"@lando/laravel": ./../../
2 changes: 1 addition & 1 deletion examples/7.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ lando poweroff
# Initialize an empty laravel recipe
rm -rf laravel && mkdir -p laravel && cd laravel
lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel --option cache=redis --option php='7.1' --option composer_version='1-latest'
cp -f ../../.lando.local.yml .lando.local.yml && cat .lando.local.yml

# Should compose create-project a new laravel app
cd laravel
lando composer create-project --prefer-dist laravel/laravel app

# Should start up successfully
cd laravel
echo -e "\nplugins:\n \"@lando/laravel/\": ./../../" >> .lando.yml
lando start
```

Expand Down
2 changes: 1 addition & 1 deletion examples/7.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ lando poweroff
# Initialize an empty laravel recipe
rm -rf laravel && mkdir -p laravel && cd laravel
lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel --option cache=redis --option php='7.2' --option composer_version='1-latest'
cp -f ../../.lando.local.yml .lando.local.yml && cat .lando.local.yml

# Should compose create-project a new laravel app
cd laravel
lando composer create-project --prefer-dist laravel/laravel app

# Should start up successfully
cd laravel
echo -e "\nplugins:\n \"@lando/laravel/\": ./../../" >> .lando.yml
lando start
```

Expand Down
2 changes: 1 addition & 1 deletion examples/7.4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ lando poweroff
# Initialize an empty laravel recipe
rm -rf laravel && mkdir -p laravel && cd laravel
lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel --option cache=redis
cp -f ../../.lando.local.yml .lando.local.yml && cat .lando.local.yml

# Should compose create-project a new laravel app
cd laravel
lando composer create-project --prefer-dist laravel/laravel app

# Should start up successfully
cd laravel
echo -e "\nplugins:\n \"@lando/laravel/\": ./../../" >> .lando.yml
lando start
```

Expand Down
2 changes: 1 addition & 1 deletion examples/8.1-mysql8/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ lando poweroff
# Initialize an empty laravel recipe
rm -rf mysql8 && mkdir -p mysql8 && cd mysql8
lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel-mysql8 --option cache=redis --option php='8.1' --option database=mysql:8.0.22
cp -f ../../.lando.local.yml .lando.local.yml && cat .lando.local.yml

# Should compose create-project a new laravel app
cd mysql8
lando composer create-project --prefer-dist laravel/laravel app

# Should start up successfully
cd mysql8
echo -e "\nplugins:\n \"@lando/laravel/\": ./../../" >> .lando.yml
lando start
```

Expand Down
2 changes: 1 addition & 1 deletion examples/8.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ lando poweroff
# Initialize an empty laravel recipe
rm -rf laravel && mkdir -p laravel && cd laravel
lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel --option cache=redis --option php='8.1'
cp -f ../../.lando.local.yml .lando.local.yml && cat .lando.local.yml

# Should compose create-project a new laravel app
cd laravel
lando composer create-project --prefer-dist laravel/laravel app

# Should start up successfully
cd laravel
echo -e "\nplugins:\n \"@lando/laravel/\": ./../../" >> .lando.yml
lando start
```

Expand Down

0 comments on commit 8c5661b

Please sign in to comment.