-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Separate CI badges for Linux and macOS & Windows
feat(cli): Replace argparse with click feat(dev-container): Update dependencies and add Nox support feat(dev-container): update dev container and vscode settings feat(dev-container): Update dev container to use ubuntu-24.04 feat(devcontainer): Install miniconda and update devcontainer feat(devcontainer): update miniforge installation and pin packages feat(test): Add OCP dependency and skip Python 3.12 test fix(noxfile): add python 3.10 to pytest session fix(test): Skip test for Python 3.12 - Add a TODO for handling CLI Exception - Add Nox support for running tests with a matrix of operating systems and Python versions. - Add Nox support to dev-container.yml workflow. - Add noxfile.py support for specified Python versions. - Add OCP dependency to test environment and skip Python 3.12 test for macOS. - Add virtualenv to vscode extensions. - Also updated noxfile to use the new dependencies. - Fix assembly test for Python 3.12 on macOS. - Fix python test workflow by removing commented-out, irrelevant conda install. - move ubuntu-24.04 tests to dev-container - Pin `cadquery-ocp` version for consistency. - remove outdated 3.12/3.13 test skip - This change addresses some issues with previous versions. - Update dependencies to latest versions. - Update dev-container to add notes about OS and python version. - Update devcontainer.json to add miniconda to PATH. - Update Dockerfile to install miniconda, resolve issues with libmamba lockfile. - Update miniforge installation in devcontainer to use `sudo` for installation. - Update poetry.lock. - Update the dev container workflow to use ubuntu-24.04 for testing.
- Loading branch information
1 parent
17f22b4
commit 924d832
Showing
150 changed files
with
5,927 additions
and
2,125 deletions.
There are no files selected for viewing
File renamed without changes.
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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# TODO: @alexanderilyin: Move JIRA CLI installation to Dev Container Templates | ||
# hadolint ignore=DL3007 | ||
FROM ghcr.io/ankitpokhrel/jira-cli:latest AS jira | ||
|
||
# TODO; @alexanderilyin: Implement SemVer release strategy in https://github.com/partcad/devcontainers-templates/ | ||
# hadolint ignore=DL3007 | ||
FROM ghcr.io/partcad/devcontainer-partcad:latest | ||
|
||
COPY --from=jira /bin/jira /usr/local/bin/jira | ||
|
||
# TODO: @alexanderilyin: error libmamba Could not open lockfile '/home/vscode/miniforge3/pkgs/cache/cache.lock' \ | ||
# TODO: @alexanderilyin: Run `mamba init` | ||
# hadolint ignore=DL3004 | ||
RUN \ | ||
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" \ | ||
&& sudo -u vscode bash "Miniforge3-$(uname)-$(uname -m).sh" -b -p /home/vscode/miniforge3 |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
allure: | ||
directory: allure-results | ||
clean: true | ||
links: | ||
- pattern: "https://partcad.atlassian.net/browse/{}" | ||
type: issue | ||
name: Issue | ||
report: | ||
title: "PartCAD Allure Report" | ||
description: "Combined test results for PartCAD" | ||
logo: "https://partcad.org/static/media/logo.ae965d5f99a132f8187e.png" |
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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
* text=lf | ||
*.step binary | ||
*.png binary | ||
mkdocs/**/*.png filter=lfs diff=lfs merge=lfs -text | ||
*.stl binary |
File renamed without changes.
File renamed without changes.
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
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
|
||
## Reporting a Vulnerability | ||
|
||
Please, email vulnerabilities at [[email protected]](mailto:[email protected]). | ||
Please, email vulnerabilities at [[email protected]](mailto:[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
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Upload Test Results & Coverage Reports | ||
|
||
description: Upload test results and coverage reports to GitHub and Codecov | ||
|
||
inputs: | ||
name: | ||
description: Name of the artifact to upload to GitHub. | ||
required: true | ||
default: test-results | ||
path: | ||
description: Path to the test results to upload to GitHub. | ||
required: true | ||
status: | ||
description: The status of the job. | ||
required: true | ||
retention-days: | ||
description: Number of days to retain the artifact on GitHub. | ||
required: false | ||
default: "7" | ||
codecov-files: | ||
description: Path to the test results file to upload to Codecov. | ||
required: true | ||
coverage-report: | ||
description: Path to the coverage reports to upload to Codecov. | ||
required: true | ||
token: | ||
description: Codecov token. | ||
required: true | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Upload test results to GitHub | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ inputs.name }} | ||
path: ${{ inputs.path }} | ||
retention-days: ${{ inputs.retention-days }} | ||
|
||
- name: Upload coverage reports to Codecov | ||
if: ${{ inputs.status }} != 'cancelled' | ||
uses: codecov/codecov-action@v5 | ||
with: | ||
files: ${{ inputs.coverage-report }} | ||
token: ${{ inputs.token }} | ||
|
||
- name: Upload test results to Codecov | ||
if: ${{ inputs.status }} != 'cancelled' | ||
uses: codecov/test-results-action@v1 | ||
with: | ||
files: ${{ inputs.codecov-files }} | ||
token: ${{ inputs.token }} |
File renamed without changes
Oops, something went wrong.