Skip to content

Commit

Permalink
add run test for shell
Browse files Browse the repository at this point in the history
  • Loading branch information
yjchoi1 committed Oct 20, 2023
1 parent b14c366 commit 75ee9ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
Expand All @@ -35,3 +35,6 @@ jobs:
- name: Test with pytest
run: |
pytest
- name: Run gen.py script
run: python3 gen.py --input_path="example/sand3d/inputs.json"
shell: bash
4 changes: 2 additions & 2 deletions examples/sand3d/inputs.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"k0": null,
"wall_friction": 0.385,
"gen_cube_randomly": {
"generate": false,
"generate": true,
"sim_inputs": {
"mesh": {
"simulation_domain": [
Expand Down Expand Up @@ -79,7 +79,7 @@
}
},
"gen_cube_from_data": {
"generate": true,
"generate": false,
"metadata_path": "examples/sand3d/metadata-sand3d.json"
},
"mpm_inputs": {
Expand Down

0 comments on commit 75ee9ed

Please sign in to comment.