Merge pull request #65 from Haraj-backend/fix/error-409-start-battle-… #65
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
name: ci | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
jobs: | |
run-tests: | |
name: Run Automated Tests | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout Current Commit | |
uses: actions/checkout@v3 | |
- name: Run Automated Tests | |
run: make test | |
- name: Send Coverage Report to Coveralls | |
uses: shogo82148/actions-goveralls@v1 | |
with: | |
path-to-profile: ./.output/cov-report/profile.cov | |
- name: Test Build All Container Images | |
run: make test-build-all | |
- name: Notify To Slack If Failed | |
uses: lazy-actions/slatify@v3.0.0 | |
if: failure() | |
with: | |
type: ${{ job.status }} | |
job_name: "*[hex-monscape]* ${{ github.job }}" | |
mention: "here" | |
mention_if: "failure" | |
channel: "#solutions-team-ci-cd" | |
icon_emoji: ":haraaj:" | |
username: "ci/cd-reporter" | |
url: ${{ secrets.SOLUTIONS_TEAM_SLACK_WEBHOOK }} | |
commit: true | |
token: ${{ secrets.GITHUB_TOKEN }} |