Skip to content

Commit

Permalink
fix: get user
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Feb 23, 2024
1 parent 15d5fde commit 54ca65f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,32 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Run script
run: |
python -c 'import os; os.getlogin()'
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Run tests and collect coverage
run: npm run test
- name: Upload coverage to Codecov (script)
- name: Upload coverage to Codecov (v3)
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: ./coverage/script/coverage-final.json
flags: script,${{ matrix.os }}
name: codecov-script
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov (script)
- name: Upload coverage to Codecov (latest)
uses: ./
with:
fail_ci_if_error: true
files: ./coverage/script/coverage-final.json
flags: script,${{ matrix.os }}
name: codecov-script
Expand Down

0 comments on commit 54ca65f

Please sign in to comment.