Skip to content

Commit

Permalink
Merge pull request #38 from DanielAvdar/init
Browse files Browse the repository at this point in the history
Update codecov-action
  • Loading branch information
DanielAvdar authored Apr 11, 2024
2 parents ff832a2 + 219aa41 commit 99f4517
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,5 @@ jobs:
cache: poetry

- run: poetry install
- run: poetry run pytest --cov=pandas_pyarrow --cov-report=xml
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true
- run: poetry run pytest
continue-on-error: true
30 changes: 30 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Codecov
on:
pull_request:
paths:
- 'pandas_pyarrow/**'
- 'tests/**'
- '.github/workflows/ci.yml'
- 'pyproject.toml'
- 'poetry.lock'
workflow_dispatch:
jobs:
upload-coverage-report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: poetry

- run: poetry install
- run: poetry run pytest --cov=pandas_pyarrow --cov-report=xml
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
continue-on-error: true

0 comments on commit 99f4517

Please sign in to comment.