Add koin-wrapper and mock-smart-wallet contracts for testing #135
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: Test | |
on: | |
push: | |
branches: | |
- "*" | |
jobs: | |
build: | |
runs-on: ${{ matrix.platform }} | |
name: "${{ matrix.platform }} ${{ matrix.node-version }}" | |
continue-on-error: true | |
strategy: | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
node-version: [20.x, 18.x] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run test | |
run: yarn ci | |
# Don't report failures right now. Needs more work | |
# | |
# report-failure: | |
# name: Report to Slack | |
# needs: | |
# - build | |
# runs-on: ubuntu-latest | |
# if: always() | |
# | |
# steps: | |
# - name: Report Failure | |
# if: env.WORKFLOW_CONCLUSION == 'failure' | |
# uses: ravsamhq/notify-slack-action@v2 | |
# with: | |
# status: 'failure' | |
# notification_title: "{workflow} has {status_message}" | |
# message_format: "{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>" | |
# footer: "Linked Repo <{repo_url}|{repo}> | <{workflow_url}|View Workflow>" | |
# notify_when: "failure" | |
# env: | |
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ALERT_WEBHOOK }} |