Skip to content

Commit

Permalink
import geant4_pybind as geant4
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed Aug 31, 2023
1 parent 51a5647 commit ed9ca76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/run_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,14 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: 3.11

- name: Install NuclearBoy
run: |
./install-nuclear-boy.sh -d ${GITHUB_WORKSPACE} \
-e nuclear-boy \
-g ${GITHUB_WORKSPACE}/nuclear-boy/G4Data \
-c ${GITHUB_WORKSPACE}/nuclear-boy/CrossSectionData
- name: Check NuclearBoy directories
run: |
echo "NuclearBoy directory"
ls -h ${GITHUB_WORKSPACE}/nuclear-boy
echo
echo "G4Data directory"
ls -h ${GITHUB_WORKSPACE}/nuclear-boy/G4Data
echo
echo "CrossSection directory"
ls -h ${GITHUB_WORKSPACE}/nuclear-boy/CrossSectionData
- name: Run tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
pymoab = None

try:
from geant4_pybind import *
import geant4_pybind as geant4
except ImportError:
geant4 = None

Expand Down

0 comments on commit ed9ca76

Please sign in to comment.