Skip to content

Commit f22529e

Browse files
Print full list of vibrational states (#315)
* Bump git2 from 0.18.3 to 0.19.0 Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.18.3 to 0.19.0. - [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md) - [Commits](rust-lang/git2-rs@git2-0.18.3...git2-0.19.0) --- updated-dependencies: - dependency-name: git2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump clap from 4.5.12 to 4.5.20 Bumps [clap](https://github.com/clap-rs/clap) from 4.5.12 to 4.5.20. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](clap-rs/clap@clap_complete-v4.5.12...clap_complete-v4.5.20) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump serde_json from 1.0.121 to 1.0.132 Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.121 to 1.0.132. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](serde-rs/json@v1.0.121...1.0.132) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump nalgebra from 0.33.0 to 0.33.2 Bumps [nalgebra](https://github.com/dimforge/nalgebra) from 0.33.0 to 0.33.2. - [Changelog](https://github.com/dimforge/nalgebra/blob/main/CHANGELOG.md) - [Commits](https://github.com/dimforge/nalgebra/commits/v0.33.2) --- updated-dependencies: - dependency-name: nalgebra dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * bump spectro * set verbose to true to get full vibrational state output * use die macro * add assert_cmd and insta and add basic assert_cmd test for cart * add cart snapshot * update snapshot to ignore PID * redact numerical results from cart snapshot * use insta for config tests * use test_case for config tests * use local queue in normal.toml, set insta suffixes to get reproducible ordering of snapshots * add cart config case, update test.toml description to reflect sic * move sic template to local queue * add norm.toml as copy of normal without resume_hff, parameterize run to cover the other coordinate types * catch missing verbose for normals thanks snapshot tests * add new snapshots * redact version and anpass residuals * handle sic-specific redactions to make sure states are there * set threads to 1 for run tests, debugging github hanging forever * test threads 1 * too many dashes * nocapture for more debugging hang * also copy shared library how has this been working so far?? * suffix * deleted cache, update paths * revert github debugging, mopac path was the problem * give up on caching, download binary release * fix curl flags * set -xe on mopac install * nocapture to debug again * more debugging, can't find libmopac.so.2 * apparently we need even more .so files --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 1ae95f8 commit f22529e

20 files changed

+599
-176
lines changed

.github/workflows/test.yml

+13-21
Original file line numberDiff line numberDiff line change
@@ -18,35 +18,27 @@ jobs:
1818
- uses: actions/checkout@v4
1919
with:
2020
submodules: true
21+
2122
- name: Install ${{ matrix.toolchain }}
2223
uses: dtolnay/rust-toolchain@master
2324
with:
2425
toolchain: ${{ matrix.toolchain }}
26+
2527
- name: cargo generate-lockfile
2628
if: hashFiles('Cargo.lock') == ''
2729
run: cargo generate-lockfile
28-
- name: Cache mopac
29-
id: cache-mopac
30-
uses: actions/cache@v4
31-
with:
32-
path: |
33-
mopac/build/mopac
34-
mopac/build/libmopac.so.1
35-
key: ${{ runner.os }}-build-mopac
30+
3631
- name: install mopac
37-
if: steps.cache-mopac.outputs.cache-hit != 'true'
38-
run: |
39-
sudo apt install -y python3 python3-numpy
40-
git clone https://github.com/openmopac/mopac.git
41-
cd mopac
42-
mkdir build
43-
cd build
44-
cmake ..
45-
make
46-
- name: copy over mopac
4732
run: |
33+
set -xe
34+
curl -OL https://github.com/openmopac/mopac/releases/download/v23.0.2/mopac-23.0.2-linux.tar.gz
35+
gunzip mopac-23.0.2-linux.tar.gz
36+
tar xf mopac-23.0.2-linux.tar
4837
mkdir -p /opt/mopac
49-
cp mopac/build/mopac /opt/mopac/.
50-
# https://twitter.com/jonhoo/status/1571290371124260865
38+
cp mopac-23.0.2-linux/bin/mopac /opt/mopac/.
39+
cp mopac-23.0.2-linux/lib/*.so* /opt/mopac/.
40+
ls /opt/mopac
41+
ldd /opt/mopac/mopac
42+
5143
- name: cargo test --locked
52-
run: cargo test --locked --all-features --all-targets -- --include-ignored
44+
run: cargo test --locked --all-features --all-targets -- --include-ignored --nocapture

0 commit comments

Comments
 (0)