Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
waketzheng committed Jan 24, 2025
1 parent 9743e8c commit 6e2b613
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
- name: Configure poetry
run: |
poetry config virtualenvs.in-project true
poetry self add poetry-plugin-export
- uses: actions/cache@v4
id: cache
with:
Expand All @@ -79,6 +78,7 @@ jobs:
run: |
if [[ "${{ steps.cache.outputs.cache-hit }}" == "true" ]]; then
poetry run pip list
poetry run pip install --upgrade coverage # Coverage may be downgraded by coveralls
make _ci
else
make ci
Expand All @@ -98,7 +98,7 @@ jobs:
PYTEST_ARGS: "-n auto --cov=tortoise --cov-append --tb=native -q"
- name: Upload Coverage
run: |
pip3 install --upgrade coveralls
pip install --upgrade coveralls
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6e2b613

Please sign in to comment.