Skip to content

Commit

Permalink
Merge pull request #14 from OpenGATE/update_ci
Browse files Browse the repository at this point in the history
Change directory of python in Github Actions
  • Loading branch information
tbaudier authored Nov 18, 2024
2 parents c00a840 + 0ff2015 commit d538120
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ jobs:
- name: Test the wheel
shell: bash {0}
run: |
sudo apt-get install -y ttf-mscorefonts-installer
sudo fc-cache -f -v
pip install dist/gaga_phsp-*-py3-none-any.whl
cd tests
cp -r data json mac output log /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/tests/
cp -r data json mac output log /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/tests/
python ../gaga_phsp/bin/gaga_tests.py || exit -1
publish_wheel:
Expand Down
1 change: 1 addition & 0 deletions gaga_phsp/bin/gaga_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def go(test_id, random_tests):
"test004_main3_gaga.py",
"test004_main4_standalone_numpy.py",
"test004_main5_standalone_torch.py",
"test006_pos_enc.py",
]

onlyfiles = [
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ find = {} # Scanning implicit namespaces is active by default

[project]
name = "gaga-phsp"
version = "0.7.3"
version = "0.7.4"
dynamic = ["readme"]
authors = [{ name = "David Sarrut", email = "[email protected]" }]
description = "Python tools for GATE GAN simulations"
Expand All @@ -33,7 +33,7 @@ dependencies = [
"colorama",
"click",
"scipy",
"garf>=2.7",
"garf>=2.8",
"matplotlib",
"gatetools",
"pathlib"
Expand Down

0 comments on commit d538120

Please sign in to comment.