Skip to content

Commit

Permalink
ci: improves Testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Tao authored and tkzt committed Jan 14, 2024
1 parent 996f088 commit aafbf69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 35 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Move manager out
run: mv ./manager/* ./
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
with:
Expand All @@ -20,4 +22,4 @@ jobs:
- name: Install dependencies
run: pdm install -Gtest
- name: Run tests
run: pdm run pytest
run: pdm test
33 changes: 0 additions & 33 deletions .pre-commit-config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion manager/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies = [
"blurhash-python>=1.2.1",
"flask-httpauth>=4.8.0",
]
requires-python = "==3.11.*"
requires-python = ">=3.12"
readme = "README.md"
license = {text = "MIT"}

Expand Down

0 comments on commit aafbf69

Please sign in to comment.