Skip to content

Commit

Permalink
Get rid of poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Oct 30, 2024
1 parent fae17da commit 13a297b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
14 changes: 9 additions & 5 deletions .devcontainer/dev-dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/bin/bash

# Install dev dependencies

# install poetry
pip install poetry --user
# Install dependencies
python -m poetry install --with dev
pip install --no-cache-dir --upgrade \
pytest==8.2.1 \
pytest-mock==3.14.0 \
pytest-cov==5.0.0 \
pytest-xdist==3.6.1 \
syrupy==4.6.1 \
black==24.4.2 \
isort==5.13.2 \
pyright==1.1.387
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
imageName: dodona/dodona-tested
imageTag: dev
push: never
runCmd: poetry run pytest -n auto --cov=tested --cov-report=xml tests/
runCmd: pytest -n auto --cov=tested --cov-report=xml tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
Expand All @@ -44,14 +44,14 @@ jobs:
imageName: dodona/dodona-tested
imageTag: dev
push: never
runCmd: poetry run isort --check-only --diff ./tested ./tests
runCmd: isort --check-only --diff ./tested ./tests
- name: Run black
uses: devcontainers/[email protected]
with:
imageName: dodona/dodona-tested
imageTag: dev
push: never
runCmd: poetry run black --check ./tested ./tests
runCmd: black --check ./tested ./tests
types:
needs: [build_devcontainer]
runs-on: ubuntu-latest
Expand All @@ -66,4 +66,4 @@ jobs:
imageName: dodona/dodona-tested
imageTag: dev
push: never
runCmd: poetry run pyright ./tested ./tests
runCmd: pyright ./tested ./tests

0 comments on commit 13a297b

Please sign in to comment.