Modernizing PyThon Projec
This commit is contained in:
parent
b8848c8303
commit
55d0d1a105
51 changed files with 157 additions and 47 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -26,15 +26,16 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install requirements
|
||||
- name: Install uv
|
||||
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd src/
|
||||
pip install -r requirements.txt
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
uv pip install --system -e ".[dev]"
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd src/
|
||||
pytest -s tests/ -vv
|
||||
run: pytest -s tests/ -vv
|
||||
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue