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
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Git LFS tracking
**/*.stl filter=lfs diff=lfs merge=lfs -text
**/*.hdf5 filter=lfs diff=lfs merge=lfs -text
**/*.hdf5.gz filter=lfs diff=lfs merge=lfs -text
**/*.h5 filter=lfs diff=lfs merge=lfs -text
**/*.png filter=lfs diff=lfs merge=lfs -text
**/*.jpg filter=lfs diff=lfs merge=lfs -text
**/*.jpeg filter=lfs diff=lfs merge=lfs -text
**/*.gif filter=lfs diff=lfs merge=lfs -text
**/*.svg filter=lfs diff=lfs merge=lfs -text
**/*.pkl filter=lfs diff=lfs merge=lfs -text
**/*.vtk filter=lfs diff=lfs merge=lfs -text
**/*.vtu filter=lfs diff=lfs merge=lfs -text
**/*.gds filter=lfs diff=lfs merge=lfs -text

# Linguist-vendored files
docs/* linguist-vendored
notebooks/* linguist-vendored
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
fetch-depth: 1
submodules: false
persist-credentials: false
lfs: true

- name: checkout-tag
if: ${{ env.RELEASE_TAG }}
Expand All @@ -89,6 +90,7 @@ jobs:
fetch-depth: 1
submodules: false
persist-credentials: false
lfs: true

- name: set-python-${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
Expand Down Expand Up @@ -227,6 +229,7 @@ jobs:
fetch-depth: 1
submodules: false
persist-credentials: false
lfs: true

- name: checkout-tag
if: ${{ env.RELEASE_TAG }}
Expand All @@ -236,6 +239,7 @@ jobs:
fetch-depth: 1
submodules: false
persist-credentials: false
lfs: true

- name: set-python-${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
Expand Down
22 changes: 21 additions & 1 deletion .github/workflows/tidy3d-python-client-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: "public/tidy3d/python-client-tests"

on:
merge_group:


push:
branches:
- develop

workflow_dispatch:
inputs:
remote_tests:
Expand Down Expand Up @@ -111,6 +115,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref == 'refs/heads/develop' }}

env:
VERIFICATIONS_PY_VERSION: '3.11'

Expand Down Expand Up @@ -223,6 +231,14 @@ jobs:
test_selection="full"
fi

if [[ "$EVENT_NAME" == "push" ]]; then
local_tests=true
remote_tests=true
extras_integration_tests=true
test_type="basic"
test_selection="full"
fi

# Set test_type based on input or event
if [[ -n "$INPUT_TEST_TYPE" ]]; then
test_type="$INPUT_TEST_TYPE"
Expand Down Expand Up @@ -715,6 +731,7 @@ jobs:
fetch-depth: 0
submodules: false
persist-credentials: false
lfs: true

- name: checkout-tag
if: ${{ env.RELEASE_TAG }}
Expand All @@ -724,6 +741,7 @@ jobs:
fetch-depth: 0
submodules: false
persist-credentials: false
lfs: true

- name: compute-testmon-cache-key
id: testmon-cache-key
Expand Down Expand Up @@ -976,6 +994,7 @@ jobs:
fetch-depth: 1
submodules: false
persist-credentials: false
lfs: true

- name: checkout-tag
if: ${{ env.RELEASE_TAG }}
Expand All @@ -985,6 +1004,7 @@ jobs:
fetch-depth: 1
submodules: false
persist-credentials: false
lfs: true

- name: compute-testmon-cache-key
id: testmon-cache-key
Expand Down
4 changes: 4 additions & 0 deletions docs/_ext/custom-robots.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@


def process_robots_txt(app, exception):
if exception:
return
# Get the path to the robots.txt file
robots_file = os.path.join(app.outdir, "robots.txt")
if not os.path.isfile(robots_file):
return
with open(robots_file) as f:
contents = f.read()

Expand Down
6 changes: 0 additions & 6 deletions docs/_templates/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,3 @@
{% endif %}
{% endif %}
{% endblock %}


.. rubric:: Inherited Common Usage

.. include:: ../_custom_autosummary/{{ fullname }}.rst
:optional:
2 changes: 1 addition & 1 deletion docs/faq
Submodule faq updated 167 files