Skip to content

Commit daadb63

Browse files
author
Sergii Solonyna
committed
Update CI workflow for type checking and coverage reporting
- Changed the mypy command to install the package in editable mode. - Updated Codecov action configuration to disable CI failure on errors and added a token for authentication.
1 parent 9fdb367 commit daadb63

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Type check with mypy
3434
run: |
35-
pip install httpx pydantic
35+
pip install -e .
3636
mypy src/astroapi
3737
3838
test:
@@ -64,7 +64,8 @@ jobs:
6464
uses: codecov/codecov-action@v4
6565
with:
6666
file: ./coverage.xml
67-
fail_ci_if_error: true
67+
fail_ci_if_error: false
68+
token: ${{ secrets.CODECOV_TOKEN }}
6869

6970
build:
7071
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)