diff --git a/.devcontainer/dev-dependencies.sh b/.devcontainer/dev-dependencies.sh index b5813b1a..cc11316e 100755 --- a/.devcontainer/dev-dependencies.sh +++ b/.devcontainer/dev-dependencies.sh @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e95e9c6..9ec07bff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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/ci@v0.3 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 @@ -66,4 +66,4 @@ jobs: imageName: dodona/dodona-tested imageTag: dev push: never - runCmd: poetry run pyright ./tested ./tests + runCmd: pyright ./tested ./tests