Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
1657283
replaced setup.py by pyproject.toml
kshitij-maths Nov 7, 2025
0cb4690
updated tutorial3
kshitij-maths Nov 11, 2025
5bf496a
updated tutorial 1 .ipynb and .py to in line with the modernization
kshitij-maths Nov 10, 2025
fc52219
updated tutorial3
kshitij-maths Nov 11, 2025
3fa32b3
modified tutorial-3-rbf.ipynb
kshitij-maths Nov 11, 2025
2a92869
Remove setup.py from repo
kshitij-maths Nov 11, 2025
6e8e36d
modified tutorial 4
kshitij-maths Nov 11, 2025
107a2fe
modified tutorial 6
kshitij-maths Nov 12, 2025
7afe6c1
modified tutorial 7
kshitij-maths Nov 12, 2025
eec26a5
updated OCC imports
kshitij-maths Nov 12, 2025
ce3bf46
modified tutorial 2
kshitij-maths Nov 12, 2025
3a8a271
modified tutorial 5
kshitij-maths Nov 12, 2025
91d8c71
updated tutorial-3-unv.ipynb to new API
kshitij-maths Nov 12, 2025
0f110c9
cleaned and reorganized readme and updated contributing.rst
kshitij-maths Nov 13, 2025
c55d729
minor modification in redame and contibuting
kshitij-maths Nov 13, 2025
36667ef
minor fix in tutorial 7
kshitij-maths Nov 14, 2025
5ce416b
version modification in .github/workflows/ci.yml
kshitij-maths Nov 17, 2025
bad6ac5
modified workflows
kshitij-maths Nov 17, 2025
8176d6d
restricted python versions to 3.9 and 3.10 to ensure compatibility wi…
kshitij-maths Nov 17, 2025
1ab919c
added missing python version in conda setup
kshitij-maths Nov 17, 2025
20a34cb
change workflows macOS runner from macOS-12 to macOS-latest to reduce…
kshitij-maths Nov 18, 2025
12d3d75
macos PR fix
kshitij-maths Nov 19, 2025
d799725
Revert "macos PR fix"
kshitij-maths Nov 19, 2025
2e263f5
Migrate Python 2 syntax to Python 3 and fix Pylint warnings in pygem/
kshitij-maths Nov 23, 2025
0d404fd
major pylint fixes
kshitij-maths Nov 24, 2025
b3e4112
removed nested double quotes in rbf.py
kshitij-maths Nov 26, 2025
0170653
removed unwanted f-strings in the tutorials and minor fix in the work…
kshitij-maths Nov 26, 2025
efc9972
modified markdownlint.json
kshitij-maths Nov 26, 2025
ef14bf1
removed subprocess from tutorialls 1-4
kshitij-maths Nov 26, 2025
a3d5cb5
Update GitHub Actions workflow for Python testing
guglielmopadula Nov 26, 2025
651cf69
Update pull request trigger to remove branch filter
guglielmopadula Nov 26, 2025
c9c8d7e
Merge pull request #9 from guglielmopadula/mac-os-fix-local
guglielmopadula Nov 26, 2025
5ff7bbe
removed subprocess from tutorials 5-7
kshitij-maths Nov 26, 2025
f7a19ad
minor codacy issues fix
kshitij-maths Nov 26, 2025
1a9bc62
Merge pull request #1 from guglielmopadula/macos-fix
kshitij-maths Nov 27, 2025
673f346
modified flake8 ignores
kshitij-maths Nov 27, 2025
3e36876
minor flake8 fixes
kshitij-maths Nov 27, 2025
96dece4
removed .markdownlint.json, .markdownlintignore, and some other unwan…
kshitij-maths Nov 27, 2025
41a72ac
reverted bug_report.md and help-wanted.md
kshitij-maths Nov 27, 2025
6c253e9
reverted workflows
kshitij-maths Nov 27, 2025
8f70186
reverted pygem/
kshitij-maths Nov 27, 2025
909ea6b
Revert useless files
ndem0 Nov 27, 2025
45ce630
revert tests
ndem0 Nov 27, 2025
1acc3df
revert pylintrc
ndem0 Nov 27, 2025
f94613e
revert readme
ndem0 Nov 27, 2025
a6e6f44
revert pythocc version
ndem0 Nov 27, 2025
779b1b8
added vtk in pyproject.toml
kshitij-maths Nov 28, 2025
6e890fa
corrected missing comma in pyproject
kshitij-maths Nov 28, 2025
2a62d43
Refactor conda install commands in testing workflow
ndem0 Nov 28, 2025
e8da546
Update Python version and dependency specifications
ndem0 Nov 28, 2025
8e5562d
Remove Python 3.8 from CI workflow
ndem0 Nov 28, 2025
0572d84
Update Python version requirement to 3.9
ndem0 Nov 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 37 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,43 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8]
python-version: ["3.10"]

steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install numpy scipy matplotlib pytest pytest-cov

- name: Test with pytest
env:
CODACY_API_TOKEN: ${{ secrets.CODACY_API_TOKEN }}
run: |
if [ -z "$CODACY_API_TOKEN" ]
then
python3 -m pytest
else
python3 -m pytest --cov-report term --cov-report xml:cobertura.xml --cov=pygem
curl -s https://coverage.codacy.com/get.sh -o CodacyCoverageReporter.sh
chmod +x CodacyCoverageReporter.sh
./CodacyCoverageReporter.sh report -r cobertura.xml -t $CODACY_API_TOKEN
fi
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Setup Conda
uses: s-weigand/setup-conda@v1
with:
python-version: ${{ matrix.python-version }}
update-conda: true
conda-channels: conda-forge, anaconda

- name: Install pythonocc-core (Conda)
run: conda install --yes -c conda-forge -c anaconda pythonocc-core
shell: bash

- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
python -m pip install numpy scipy matplotlib pytest pytest-cov
python -m pip install smithers[vtk]
python -m pip install .[test]

- name: Run tests with pytest
env:
CODACY_API_TOKEN: ${{ secrets.CODACY_API_TOKEN }}
run: |
if [ -z "$CODACY_API_TOKEN" ]; then
python -m pytest
else
python -m pytest --cov-report term --cov-report xml:cobertura.xml --cov=pygem
curl -s https://coverage.codacy.com/get.sh -o CodacyCoverageReporter.sh
chmod +x CodacyCoverageReporter.sh
./CodacyCoverageReporter.sh report -r cobertura.xml -t $CODACY_API_TOKEN
fi
37 changes: 16 additions & 21 deletions .github/workflows/testing_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,34 @@ on:
branches:
- "master"


jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
python-version: [3.7, 3.8]

python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2


- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Setup conda
uses: s-weigand/setup-conda@v1

- name: Installing conda
uses: conda-incubator/setup-miniconda@v3

with:
update-conda: true
auto-update-conda: true
python-version: ${{ matrix.python-version }}
conda-channels: anaconda, conda-forge

- name: Install Python dependencies
channels: conda-forge

- name: Installing packages
shell: bash -el {0}
run: |
conda install --yes pythonocc-core=7.4.0
python3 -m pip install --upgrade pip
python3 -m pip install smithers[vtk]
python3 -m pip install .[test]

conda install --yes -c conda-forge pythonocc-core=7.4.0
python -m pip install --upgrade pip
python -m pip install .[test]

- name: Test with pytest
shell: bash -el {0}
run: |
python3 -m pytest
python -m pytest
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
build/
dist/
pygem.egg-info/


# virtual environments
venv_pygem/
venv_pygem

Loading
Loading