Skip to content

Commit

Permalink
Fix docker-compose for macos test
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Nov 30, 2023
1 parent 6da7f8b commit 976c797
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/docker_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
- run: exit 1
- uses: actions/checkout@v3.2.0
- uses: docker-practice/actions-setup-docker@1.0.11
- uses: docker-practice/actions-setup-docker@master
- uses: ruby/setup-ruby@v1.127.0
with:
ruby-version: 2.7.1
Expand All @@ -29,3 +30,29 @@ jobs:
./scripts/connect_wallet.rb
env:
NETWORK: ${{ github.event.inputs.network || 'mainnet' }}
report:
needs: [build]
if: always()
runs-on: ubuntu-latest
steps:
- name: Slack Notification on failure
if: needs.build.result == 'failure'
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_ICON_EMOJI: ':poop:'
SLACK_USERNAME: 'GitHub Action'
SLACK_MESSAGE: |
*Job Link:* ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
SLACK_COLOR: '#FF0000'

- name: Slack Notification on success
if: needs.build.result == 'success'
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_ICON_EMOJI: ':rocket:'
SLACK_USERNAME: 'GitHub Action'
SLACK_MESSAGE: |
*Job Link:* ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
SLACK_COLOR: '#00FF00'

0 comments on commit 976c797

Please sign in to comment.