Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
add intergration-test target
Browse files Browse the repository at this point in the history
Signed-off-by: Jason McCallister <jason@craftcms.com>
  • Loading branch information
jasonmccallister committed Apr 5, 2020
1 parent 9b2625a commit cb3bdef
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,12 @@ demo: build
demo-site:
composer create-project craftcms/craft demo-site
releaser:
goreleaser --snapshot --skip-publish --rm-dist
goreleaser --snapshot --skip-publish --rm-dist
integration-test: build
./nitro -f nitro.yaml machine create
if [ -d $directory]; then
@echo "skipping composer project creation step"
else
composer create-project craftcms/craft demo-site
fi
./nitro -f nitro.yaml serve ./demo-site demo.test
8 changes: 8 additions & 0 deletions nitro.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
machine: nitro-local
cpus: 2
memory: 2G
disk: 30G
php: 7.3
database:
engine: mysql
version: 5.6

0 comments on commit cb3bdef

Please # to comment.