fill in README details #8
Workflow file for this run
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: 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: Set up Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ^18 | |
- name: Install Flow dependencies | |
run: npm i | |
- name: Install Flow CLI | |
run: bash -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/feature/stable-cadence/install.sh)" | |
- name: Run tests | |
run: | | |
./run-tests.sh | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: Flowtyio/capability-cache |