mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
Need to checkout.
Drop Slack support
This commit is contained in:
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@@ -22,20 +22,11 @@ jobs:
|
|||||||
sudo gem install rspec
|
sudo gem install rspec
|
||||||
sudo gem install rubocop -v 0.57.2
|
sudo gem install rubocop -v 0.57.2
|
||||||
|
|
||||||
|
# Checks out repository under $GITHUB_WORKSPACE
|
||||||
|
- name: Checkout Latest Repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# Run Tests
|
# Run Tests
|
||||||
- name: Run All Unit Tests
|
- name: Run All Unit Tests
|
||||||
run: |
|
run: |
|
||||||
cd test && rake ci
|
cd test && rake ci
|
||||||
|
|
||||||
# Slack notification
|
|
||||||
- uses: 8398a7/action-slack@v3
|
|
||||||
with:
|
|
||||||
icon_emoji: ':octocat:'
|
|
||||||
status: ${{ job.status }}
|
|
||||||
# Github Actions limit visibility into renamed jobs; explicit job names here solve this limitation
|
|
||||||
job_name: "Unit Tests"
|
|
||||||
fields: repo,author,eventName,workflow,job
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_CHANNEL_WEBHOOK }}
|
|
||||||
if: always() # Pick up events even if the job fails or is canceled.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user