Skip to content

Nightly

Nightly #850

Workflow file for this run

name: Nightly
on:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [20.x]
os: [macos-latest]
steps:
- name: Setup Repo
uses: actions/checkout@v4
- name: Uses node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install all workspaces
run: yarn install --immutable
- name: spot-contracts run coverage
run: yarn workspace @ampleforthorg/spot-contracts run coverage
- name: spot-contracts report coverage
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: "./spot-contracts/coverage/lcov.info"
- name: spot-vaults run coverage
run: yarn workspace @ampleforthorg/spot-vaults run coverage
- name: spot-vaults report coverage
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: "./spot-vaults/coverage/lcov.info"