Skip to content

Commit

Permalink
Add simple compilation test
Browse files Browse the repository at this point in the history
  • Loading branch information
Wulf committed Jan 2, 2024
1 parent 3407d45 commit b979408
Show file tree
Hide file tree
Showing 13 changed files with 838 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
~/.cargo
key: ${{ runner.os }}-cargo-dev-${{ hashFiles('**/Cargo.lock') }}
- run: bash test/test_all.sh
- run: bash examples/test_all.sh
- run: git diff --exit-code --quiet || exit 1

# things that use the cargo-test cache
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,15 @@ Feel free to open tickets for support or feature requests.
## Development/Testing
Use `./test/test_all.sh` to run tests.
After running the test, there should be no unexpected changes to files in `./test` (use `git status` and `git diff` to see if there were any changes).
- **Testing codegen correctness**
Use `./test/test_all.sh` to run tests.
After running the test, there should be no unexpected changes to files in `./test` (use `git status` and `git diff` to see if there were any changes).
- **Testing codegen compilability**
Currently, we compile the projects in the `examples/` directory. Those should still compile and run after any changes to the codebase.
## License
Expand Down
Loading

0 comments on commit b979408

Please sign in to comment.