Skip to content

Commit

Permalink
build: use uv
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Feb 8, 2025
1 parent 4b81eaa commit dd39f41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ jobs:

- run: bash $HOME/dev-env/wait_mysql_ready.sh

- run: uv run pytest -rva --cov
- run: uv run pytest -rva
timeout-minutes: 10
env:
MYSQL_HOST: '127.0.0.1'
MYSQL_PORT: '3306'
MYSQL_USER: 'user'
MYSQL_PASS: 'password'
MYSQL_DB: 'bangumi'

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
MYSQL_HOST: "127.0.0.1"
MYSQL_PORT: "3306"
MYSQL_USER: "user"
MYSQL_PASS: "password"
MYSQL_DB: "bangumi"
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dev = [
'grpcio-tools (==1.68.0)',
'mypy (==1.13.0)',
'pytest (==8.3.3)',
'pytest-cov (==5.0.0)',
'pytest-dotenv (==0.5.2)',
'pytest-env (==1.1.5)',
'pytest-github-actions-annotate-failures (==0.2.0)',
Expand Down
15 changes: 0 additions & 15 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dd39f41

Please sign in to comment.