github action tests #2
Workflow file for this run
This file contains 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: Tests | |
on: | |
push: | |
branches: | |
- master | |
- feat/test-gh-actions # remove once action works | |
pull_request: | |
jobs: | |
test: | |
name: Google C++ tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Cmake | |
run: sudo apt install cmake | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
token: ${{ secrets.SSH_TOKEN }} | |
- name: Install dependencies | |
run: cmake . | |
- name: Run tests | |
run: make test | |