Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus committed Sep 3, 2024
1 parent 5cfc66a commit dc0cf96
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
uv-${{ runner.os }}
- name: Install the project
run: uv sync --all-extras --dev
run: |
uv sync --all-extras --dev
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
echo "$PWD/.venv/bin" >> $GITHUB_PATH
# Following steps cannot run by pre-commit.ci as repo = local
- name: Run mypy
run: mypy deebot_client/
Expand Down Expand Up @@ -67,7 +70,10 @@ jobs:
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
uv-${{ runner.os }}
- name: Install the project
run: uv sync --all-extras --dev
run: |
uv sync --all-extras --dev
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
echo "$PWD/.venv/bin" >> $GITHUB_PATH
- name: Run pytest
run: uv run pytest tests --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
Expand Down

0 comments on commit dc0cf96

Please sign in to comment.