-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from andre-paraense/slack-integration
Slack integration
- Loading branch information
Showing
3 changed files
with
25 additions
and
15 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 |
---|---|---|
|
@@ -10,4 +10,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: subosito/[email protected] | ||
- run: flutter pub publish --dry-run | ||
- run: flutter pub publish --dry-run | ||
- uses: pioug/[email protected] | ||
with: | ||
ACTION_NAME: CD - Publish | ||
JOB: ${{toJson(job)}} | ||
SLACK_WEBHOOK_URL: ${{secrets.SLACK_WEBHOOK_URL}} |
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 |
---|---|---|
@@ -1,20 +1,25 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
on: [push] | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '12.x' | ||
- uses: subosito/[email protected] | ||
- run: flutter packages get | ||
- run: flutter analyze --no-pub | ||
- run: flutter test --coverage | ||
- uses: codecov/[email protected] | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
file: ./coverage/lcov.info | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '12.x' | ||
- uses: subosito/[email protected] | ||
- run: flutter packages get | ||
- run: flutter analyze --no-pub | ||
- run: flutter test --coverage | ||
- uses: codecov/[email protected] | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
file: ./coverage/lcov.info | ||
- uses: pioug/[email protected] | ||
with: | ||
ACTION_NAME: CI - Build and Test | ||
JOB: ${{toJson(job)}} | ||
SLACK_WEBHOOK_URL: ${{secrets.SLACK_WEBHOOK_URL}} |
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