Skip to content

Commit

Permalink
trigger CI2
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Mar 5, 2024
1 parent f766d2e commit 7a7dbd6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/condatest_essncrystaldev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,20 @@ jobs:
- name: Install extra conda pkgs
run: conda install --yes mpmath spglib gemmi ase pymatgen

- name: Build (release mode)
id: build-release-mode
run: |
set -eu
cd src_testproject
sb
- name: Build and test release mode
id: build-and-test-release-mode
- name: Launch unit tests (release mode)
id: test-release-mode
run: |
set -eu
geant4-config --version
cd src_testproject
#NCLong* tests are run in a different workflow:
set -x
unwrapped_simplebuild -t --testexcerpts=100 --requirepkg=DGCodeRecommended,NCUtils,NCG4,NCTests,NCThreadVal,NCPerfVal --testfilter='!sb_nclong*'
sb -t --testexcerpts=100 --requirepkg=DGCodeRecommended,NCUtils,NCG4,NCTests,NCThreadVal,NCPerfVal --testfilter='!sb_nclong*'
- name: Setup tmate session for manual debugging
uses: mxschmitt/action-tmate@v3
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/condatest_essncrystaldev_long.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,18 @@ jobs:
- name: Install extra conda pkgs
run: conda install --yes mpmath spglib gemmi ase pymatgen

- name: Build and test release mode
id: build-and-test-release-mode
- name: Build (release mode)
id: build-release-mode
run: |
set -eu
geant4-config --version
cd src_testproject
sb
- name: Launch unit tests (release mode)
id: test-release-mode
run: |
set -eu
cd src_testproject
export tmp='sb_nclong*'
if [ "$RUNNER_OS" == "macOS" ]; then
#Disable a few specific tests on macos until
Expand All @@ -83,7 +88,7 @@ jobs:
fi
echo "Using --testfilter=${tmp}"
set -x
unwrapped_simplebuild -t -j4 --testexcerpts=100 --requirepkg='NCLongExtraTests,NCLongG4Tests,NCLongTests' --testfilter="${tmp}"
sb -t -j4 --testexcerpts=100 --requirepkg='NCLongExtraTests,NCLongG4Tests,NCLongTests' --testfilter="${tmp}"
- name: Setup tmate session for manual debugging
uses: mxschmitt/action-tmate@v3
Expand Down

0 comments on commit 7a7dbd6

Please sign in to comment.