Skip to content

Commit

Permalink
changed github workflows to use Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippRados committed Dec 20, 2024
1 parent 09cc1f8 commit cb31e66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ jobs:

- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
run: make unit-tests

- name: snapshot tests
run: |
chmod +x ./tests/snapshot_tests.sh
./tests/snapshot_tests.sh
shell: bash
run: make snapshot-tests
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ snapshot-tests: ## Run snapshot-tests located in tests/
c-testsuite: ## Requires c-testsuite (https://github.com/c-testsuite/c-testsuite) and env-var C_TESTSUITE set to its path
bash tests/c_testsuite.sh

fuzzer: ## Launch cargo-afl fuzzer
fuzzer: ## Launch afl.rs fuzzer
cd fuzzer && \
cargo afl build && \
cargo afl fuzz -i inputs -o outputs target/debug/fuzz_target

0 comments on commit cb31e66

Please sign in to comment.