Test get pr info #3700
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: Workflow for Codecov Action | |
on: [push, pull_request] | |
jobs: | |
run: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Run tests and collect coverage | |
run: npm run test | |
- name: install my version of the cli | |
run: | | |
git clone https://github.com/joseph-sentry/codecov-cli/archive/48e938a8384c8787fc1326362333799ce9a99baa.tar.gz#egg=codecov-cli | |
cd codecov-cli | |
git submodule update --init --recursive | |
pip install -e . | |
- name: Upload coverage to Codecov (script) | |
uses: ./ | |
with: | |
files: ./coverage/script/coverage-final.json | |
flags: script,${{ matrix.os }} | |
name: codecov-script | |
verbose: true |