-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,20 @@ jobs: | |
ddev composer config minimum-stability dev | ||
ddev composer require "lullabot/drainpipe @dev" --with-all-dependencies | ||
ddev composer require "lullabot/drainpipe-dev @dev" --dev --with-all-dependencies | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Drainpipe Bot" | ||
git init | ||
echo "/drainpipe" >> .gitignore | ||
echo "/drainpipe-dev" >> .gitignore | ||
echo ".ddev/config.yaml" >> .gitignore | ||
echo ".ddev/docker-compose.selenium.yaml" >> .gitignore | ||
echo ".yarnrc.yml" >> .gitignore | ||
echo "package.json" >> .gitignore | ||
echo "yarn.lock" >> .gitignore | ||
echo "package-lock.json" >> .gitignore | ||
echo "README.md" >> .gitignore | ||
git add . | ||
git commit -m "Initial commit" | ||
- name: Setup Nightwatch | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,10 +58,34 @@ jobs: | |
test -f phpcs.xml.dist | ||
test -f phpstan.neon.dist | ||
- name: Create a git repository | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Drainpipe Bot" | ||
git init | ||
echo "/drainpipe" >> .gitignore | ||
echo "/drainpipe-dev" >> .gitignore | ||
git add . | ||
git commit -m "Initial commit" | ||
- name: Fix settings.php | ||
run: | | ||
sed -i '/^.*container_yamls.*$/i /** @phpstan-ignore-next-line */' web/sites/default/settings.php | ||
- name: Test for untracked and modified files | ||
id: test_untracked | ||
continue-on-error: true | ||
run: ddev task test:untracked | ||
|
||
- name: Test for untracked and modified files | ||
run: | | ||
if [ "${{ steps.test_untracked.outcome }}" != "failure" ]; then | ||
exit 1 | ||
fi | ||
git add . | ||
git commit -m "Second commit" | ||
ddev task test:untracked | ||
- name: Run Static Tests | ||
run: ddev task test:static | ||
|
||
|
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
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