Skip to content

Update Cadence tests to latest API features and include them in unit-tests workflow #55

Update Cadence tests to latest API features and include them in unit-tests workflow

Update Cadence tests to latest API features and include them in unit-tests workflow #55

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
tests:
name: Flow CLI Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20
- name: Install Flow CLI
run: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)" -- v1.5.0
- name: Run tests
run: flow test --cover --covercode="contracts" test/*_test.cdc