Skip to content

Merge pull request #427 from icon-project/426-ci-upgrade-deprecated-a… #275

Merge pull request #427 from icon-project/426-ci-upgrade-deprecated-a…

Merge pull request #427 from icon-project/426-ci-upgrade-deprecated-a… #275

name: Codecov javascore
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- 'contracts/javascore/**'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
Coverage-Codecov:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Javascore contracts coverage
run: cd contracts/javascore && ./gradlew test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
flags: java