Skip to content

Commit

Permalink
Create execution in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoapaes committed Feb 22, 2021
1 parent 0c1b101 commit 7cd1046
Show file tree
Hide file tree
Showing 10 changed files with 370 additions and 21 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
GITHUB_OWNER: Owner of repository
GITHUB_REPO: Name of repository
GITHUB_PR_NUMBER: Number of pull request of repository
GITHUB_TOKEN: Token of the user's github who will post the comment
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/vendor/
.history/
.env
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"files.encoding": "utf8"
}
13 changes: 13 additions & 0 deletions codeception.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
suites:
unit:
path: .

settings:
shuffle: true
lint: true
paths:
tests: tests
output: tests/_output
support: tests/_support
data: tests

8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
}
},
"require-dev": {
"codeception/codeception": "^4.1"
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^1.0.0"
},
"scripts": {
"test:ci": "codecept run --ext \"Like\\Codeception\\GitHubReporter\""
}
}
}
Loading

0 comments on commit 7cd1046

Please sign in to comment.