Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-treebeard committed Dec 23, 2024
1 parent 526be6b commit e98d9ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ ARG NODE_VERSION="lts/*"
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
USER vscode
RUN pip3 --disable-pip-version-check --no-cache-dir install -U \
'pip==22.1.2'
RUN npm install -g @devcontainers/[email protected]
'pip==22.1.2' \
'uv==0.5.11'
RUN npm install -g @devcontainers/[email protected]
2 changes: 2 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
- uses: actions/checkout@v2
- run: npm install -g @devcontainers/[email protected]
- run: devcontainer up --workspace-folder=.
- run: devcontainer exec --workspace-folder=. uv venv
- run: devcontainer exec --workspace-folder=. uv pip install pre-commit pytest pytest-cov
- run: devcontainer exec --workspace-folder=. pre-commit run --verbose --all-files
- run: devcontainer exec --workspace-folder=. pytest --cov-report=xml --cov=src
Expand All @@ -33,5 +34,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- run: pipx install uv
- run: uv venv
- run: uv pip install -e .
- run: pytest --cov-report=xml --cov=src

0 comments on commit e98d9ab

Please sign in to comment.