Skip to content

Commit

Permalink
move checkout higher
Browse files Browse the repository at this point in the history
  • Loading branch information
nora-codecov committed Oct 22, 2024
1 parent 5c66c77 commit dde6ee6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ jobs:
runs-on: ubuntu-latest
name: Test python API
steps:
# - uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: codecov/codecov-cli
ref: main
- uses: actions/setup-python@v2
with:
python-version: '3.10'
Expand All @@ -17,13 +20,11 @@ jobs:
run: pytest --cov=api.calculator --cov-report=xml
# - name: Upload coverage reports to Codecov with GitHub Action
# uses: codecov/codecov-action@v4
- name: Install Tree-sitter dependencies
run: sudo apt-get install libtree-sitter-dev
- name: Checkout codecov-cli test branch
uses: actions/checkout@v4
with:
repository: codecov/codecov-cli
ref: main
# - name: Install Tree-sitter dependencies
# run: sudo apt-get install libtree-sitter-dev
# - name: Checkout codecov-cli test branch
# uses: actions/checkout@v4

- name: Run Codecov with test branch of CLI
run: |
pip install .
Expand Down

0 comments on commit dde6ee6

Please sign in to comment.