Skip to content

Commit

Permalink
ci(tests): run tests on PR/Push events
Browse files Browse the repository at this point in the history
  • Loading branch information
youben11 committed Oct 11, 2023
1 parent 0274a82 commit 182178f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/publish_geth_testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run Tests

on:
push:
pull_request:

jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Run tests
run: make test
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build: build-tfhe-rs-capi
cd fhevm && CGO_CFLAGS=${CGO_CFLAGS} CGO_LDFLAGS=${CGO_LDFLAGS} go build .

.PHONY: test
test:
test: build-tfhe-rs-capi
cd fhevm && CGO_CFLAGS=${CGO_CFLAGS} CGO_LDFLAGS=${CGO_LDFLAGS} go test -v .

.PHONY: build-tfhe-rs-capi
Expand Down

0 comments on commit 182178f

Please sign in to comment.