diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml deleted file mode 100755 index e08fe4af..00000000 --- a/.github/workflows/codecov.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Codecov Workflow -on: - pull_request: - branches: - - '**' - push: - branches: - - master -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: Use Node.js 16.x - uses: actions/setup-node@v1 - with: - node-version: 16.x - - name: install, bootstrap and make test coverage - run: | - npm ci - npm run build - npm run test - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3.1.1 - with: - directory: ./coverage - fail_ci_if_error: false - files: ./coverage/lcov.info - name: codecov-umbrella - verbose: true diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml new file mode 100755 index 00000000..15d45d3f --- /dev/null +++ b/.github/workflows/coveralls.yml @@ -0,0 +1,26 @@ +name: Codecov Workflow +on: + pull_request: + branches: + - '**' + push: + branches: + - master +jobs: + build: + name: Build + runs-on: Runner_16cores_Deriv-app # TODO: Replace this with the appropriate runner for Deriv-Api-Docs when provided + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Node + uses: './.github/actions/setup_node' + - name: Install dependencies + uses: './.github/actions/npm_install_from_cache' + - name: Build + uses: ./.github/actions/build + - name: Run Tests + run: | + npm run test + - name: Coveralls + uses: coverallsapp/github-action@v2