Skip to content

Commit 8dbc9c5

Browse files
authored
Add sudo
For some reason, cargo test is now throwing a permission denied error in the workflow - sudo added to see if that fixes it.
1 parent 0943871 commit 8dbc9c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/rustbca_compile_check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ jobs:
4343
python3 -c "from libRustBCA.pybca import *; print(simple_bca_py)"
4444
- name: Test RustBCA
4545
run: |
46-
cargo test --features cpr_rootfinder_netlib,hdf5_input,distributions,parry3d
46+
sudo cargo test --features cpr_rootfinder_netlib,hdf5_input,distributions,parry3d
4747
- name: Run Examples
4848
run: |
49-
cargo run --release 0D examples/boron_nitride_0D.toml
49+
sudo cargo run --release 0D examples/boron_nitride_0D.toml
5050
./target/release/RustBCA 0D examples/titanium_dioxide_0D.toml
5151
./target/release/RustBCA 1D examples/layered_geometry_1D.toml
5252
cat 2000.0eV_0.0001deg_He_TiO2_Al_Sisummary.output
5353
./target/release/RustBCA examples/boron_nitride.toml
5454
./target/release/RustBCA examples/layered_geometry.toml
5555
cat 2000.0eV_0.0001deg_He_TiO2_Al_Sisummary.output
5656
./target/release/RustBCA SPHERE examples/boron_nitride_sphere.toml
57-
cargo run --release --features parry3d TRIMESH examples/tungsten_twist_trimesh.toml
57+
sudo cargo run --release --features parry3d TRIMESH examples/tungsten_twist_trimesh.toml
5858

0 commit comments

Comments
 (0)