Skip to content

fix Macos image workflow #10

fix Macos image workflow

fix Macos image workflow #10

Workflow file for this run

name: run tests
on:
push:
branches: [ "develop"]
pull_request:
branches: [ "develop"]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '21.x'
- name: Run tests for smart-contract
run: make contract-test
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Run unit tests.
run: make test
- name: Upload Coverage report to CodeCov
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./cover.out