-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated pdf export in paraview_hello_world.ipynb to match current Par…
…aview API (#1408) Co-authored-by: Sylwester Arabas <[email protected]>
- Loading branch information
Showing
2 changed files
with
38 additions
and
30 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -86,7 +86,7 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
fetch-depth: 0 | ||
- name: Set up Python 3.9 | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -114,7 +114,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
- uses: notiz-dev/github-action-json-property@release | ||
with: | ||
with: | ||
path: '.zenodo.json' | ||
prop_path: 'creators' | ||
|
||
|
@@ -165,7 +165,7 @@ jobs: | |
# install devops_tests for tutorials_tests | ||
- if: matrix.test-suite == 'tutorials_tests' | ||
run: pip install -r tests/devops_tests/requirements.txt | ||
run: pip install -r tests/devops_tests/requirements.txt | ||
|
||
# https://github.com/numba/numba/issues/6350#issuecomment-728174860 | ||
- if: startsWith(matrix.platform, 'ubuntu-') | ||
|
@@ -188,7 +188,7 @@ jobs: | |
needs: [nojit_and_codecov] | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-22.04, macos-12, windows-latest] | ||
platform: [ubuntu-24.04, macos-12, windows-latest] | ||
python-version: ["3.9", "3.11"] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
|
@@ -224,7 +224,7 @@ jobs: | |
needs: [examples-setup] | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-22.04, macos-12, windows-latest] | ||
platform: [ubuntu-24.04, macos-12, windows-latest] | ||
python-version: ["3.9", "3.11"] | ||
test-suite: [ "chemistry_freezing_isotopes", "condensation_a", "condensation_b", "coagulation", "breakup", "multi-process_a", "multi-process_b"] | ||
fail-fast: false | ||
|
@@ -255,16 +255,28 @@ jobs: | |
- if: startsWith(matrix.platform, 'ubuntu-') | ||
run: echo NUMBA_THREADING_LAYER=omp >> $GITHUB_ENV | ||
|
||
- if: startsWith(matrix.platform, 'ubuntu-') | ||
- if: startsWith(matrix.platform, 'ubuntu-') && matrix.test-suite == 'multi-process_a' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install python3-paraview | ||
- if: startsWith(matrix.platform, 'macos-') | ||
sudo apt-get install libegl1 libopengl0 ghostscript | ||
wget -nv "https://paraview.org/paraview-downloads/download.php?submit=Download&version=v5.13&type=binary&os=Linux&downloadFile=ParaView-5.13.1-egl-MPI-Linux-Python3.10-x86_64.tar.gz" -O paraview.tar.gz | ||
tar xzf paraview.tar.gz | ||
echo `pwd`/`dirname ParaView*/bin/pvpython` >> $GITHUB_PATH | ||
- if: startsWith(matrix.platform, 'macos-') && matrix.test-suite == 'multi-process_a' | ||
run: | | ||
brew install --cask paraview | ||
echo `dirname /Applications/ParaView-*.app/Contents/bin/pvpython | head -1` >> $GITHUB_PATH | ||
- if: matrix.platform != 'windows-latest' | ||
run: pvpython --version | ||
- if: startsWith(matrix.platform, 'windows-') && matrix.test-suite == 'multi-process_a' | ||
run: | | ||
curl "https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.13&type=binary&os=Windows&downloadFile=ParaView-5.13.1-Windows-Python3.10-msvc2017-AMD64.msi" -o paraview.msi | ||
msiexec //i paraview.msi //quiet //qn //norestart | ||
echo "C:\\Program Files\\ParaView 5.13.1\\bin\\" >> $GITHUB_PATH | ||
- if: matrix.test-suite == 'multi-process_a' | ||
run: | | ||
pvpython --version | ||
pvpython -c "from paraview import simple" | ||
- env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -331,7 +343,7 @@ jobs: | |
with: | ||
pattern: dist-* | ||
merge-multiple: true | ||
path: dist | ||
path: dist | ||
- run: python -m pip install $PIP_INSTALL_ARGS dist/*.whl | ||
- run: python -c "import PySDM; print(PySDM.__version__)" | ||
- run: python -c "import PySDM_examples; print(PySDM_examples.__version__)" | ||
|
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