fix(ci) Enable test execution on push #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test GraphTally Protocol | |
on: | |
push: | |
# branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v2 | |
- name: Set up Docker cache | |
uses: docker/setup-buildx-action@v2 | |
with: | |
install: true | |
- name: Run make setup | |
run: make setup | |
- name: Run tests | |
run: make rav_tests | |
- name: Tear down containers | |
if: always() | |
run: make down |