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
6 changes: 4 additions & 2 deletions .github/workflows/manual_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ on:

jobs:
run_tests:
timeout-minutes: 30
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.12'] # TODO: Add 3.13 when it is released
os: [ubuntu-latest, macos-latest, macos-13, windows-latest]
Expand All @@ -22,6 +23,7 @@ jobs:
- name: Run tests
run: python -m tests
- name: Upload coverage to Codecov
if: ${{ matrix.python-version }} == '3.12' && ${{ matrix.os }} == 'ubuntu-latest'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
file: ./coverage.xml
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,16 @@ classifiers = [

[project.optional-dependencies]
datadriven = [
"tensorflow>=2.18.0", # Note that older versions of tensorflow may work with older numpy and numpoly versions
"chaospy>=4.3.17" # For PCE
# Dependency workaround for Intel-based Macs due to tensorflow version constraints at 2.16.2
"tensorflow==2.16.2; platform_system == 'Darwin' and platform_machine != 'arm64'",
"numpy==1.26.4; platform_system == 'Darwin' and platform_machine != 'arm64'",
"numpoly==1.2.12; platform_system == 'Darwin' and platform_machine != 'arm64'",

# Everything else (Apple Silicon Macs, Linux, Windows, etc.) Note that older versions of tensorflow may work with older numpy and numpoly versions
"tensorflow>=2.18.0; platform_system != 'Darwin' or platform_machine == 'arm64'",

# For PCE
"chaospy>=4.3.17"
]

test = [
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class TestTutorials(unittest.TestCase):
def run_notebook_test(self, notebook_path):
with testbook(notebook_path, execute=True) as tb:
with testbook(notebook_path, execute=True, timeout=1200) as tb:
self.assertEqual(tb.__class__.__name__, "TestbookNotebookClient")

def test_notebook_tutorials(self):
Expand Down
Loading