Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 4 additions & 7 deletions .github/workflows/deploy-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[develop]
- run: python -m pytest

Expand All @@ -31,10 +31,10 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[build]
- name: Get Version
id: get_version
Expand Down Expand Up @@ -102,6 +102,3 @@ jobs:
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e




8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[develop]
- run: python -m pytest

Expand All @@ -32,10 +32,10 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[build]
- name: Get Version
id: get_version
Expand Down
31 changes: 16 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13", "3.14-dev"]
python-version: ["3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v5
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
- run: pip freeze
- name: Upload build artifacts
uses: actions/upload-artifact@v4
if: ${{ matrix.python-version == '3.12'}}
if: ${{ matrix.python-version == '3.13'}}
with:
name: build
path: dist/*
Expand All @@ -54,7 +54,7 @@ jobs:
actions: write
strategy:
matrix:
python-version: ["3.12", "3.13", "3.14-dev"]
python-version: ["3.12", "3.13", "3.14"]
numpy-version: ["2.0", "2.3"]
sly-version: ["0.5"]
include:
Expand Down Expand Up @@ -83,19 +83,19 @@ jobs:
- run: coverage xml
if: ${{ success() || failure() }}
- name: Upload test report
if: ${{ matrix.python-version == '3.12' && matrix.numpy-version == '2.0' && (success() || failure() )}}
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: actions/upload-artifact@v4
with:
name: test
path: test_report.xml
- name: Upload coverage report
if: ${{ matrix.python-version == '3.12' && matrix.numpy-version == '2.0' && (success() || failure() )}}
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage.xml
- name: Coveralls GitHub Action
if: ${{ matrix.python-version == '3.12' && matrix.numpy-version == '2.0' && (success() || failure() )}}
if: ${{ matrix.python-version == '3.14' && matrix.numpy-version == '2.3' && (success() || failure() )}}
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
file: coverage.xml
Expand All @@ -115,7 +115,7 @@ jobs:
- name: set up python 3.12
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[doc,build]
- run: sphinx-build doc/source/ doc/build/html -W --keep-going -E
name: Build site strictly
Expand All @@ -140,10 +140,10 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[doc,build,demo-test,test]
- run: python -m phmutest README.md --replmode --log
name: Test readme code
Expand All @@ -160,11 +160,12 @@ jobs:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[format]
- run: black --check montepy/ tests/

Expand All @@ -173,10 +174,10 @@ jobs:

steps:
- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[test]
- run: pytest --profile
name: Profile test suite
Expand All @@ -190,10 +191,10 @@ jobs:

steps:
- uses: actions/checkout@v5
- name: set up python 3.12
- name: set up python 3.14
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.14
- run: pip install . montepy[test]
- run: python benchmark/benchmark_big_model.py
name: Benchmark against big model
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ classifiers = [
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14"
]
dependencies = [
"numpy>=1.26",
"numpy>=2.0",
"sly>= 0.4, <=0.5"
]

Expand Down