-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
526be6b
commit e98d9ab
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 |