refactor: respect naming convention #183
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
on: [push] | |
jobs: | |
Backend-Client-Functional-Tests-CI: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Setup SSH Keys and known_hosts | |
env: | |
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | |
run: | | |
mkdir -p ~/.ssh | |
ssh-keyscan github.com >> ~/.ssh/known_hosts | |
ssh-agent -a $SSH_AUTH_SOCK > /dev/null | |
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}" | |
- name: Check out the commit that triggered this job | |
uses: actions/checkout@v3 | |
with: | |
path: ${{ github.event.repository.name }} | |
- name: Prepare github runner | |
env: | |
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | |
run: yes | sh nopayloadclient/scripts/prepare_github_runner.sh | |
- name: run nopayloadclient tests | |
run: | | |
cd nopayloadclient/build/ | |
ctest --verbose | |
- name: test downstream lib (sphenixnpc) | |
env: | |
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | |
run: | | |
git clone [email protected]:ligerlac/sphenixnpc.git | |
cd sphenixnpc | |
cmake -DBUILD_TESTING=ON -S . -B build | |
cmake --build build/ | |
cd build/ | |
ctest --verbose | |
- name: test downstream lib (dunenpc) | |
env: | |
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | |
run: | | |
git clone [email protected]:ligerlac/dunenpc.git | |
cd dunenpc | |
cmake -DBUILD_TESTING=ON -S . -B build | |
cmake --build build/ | |
cd build/ | |
ctest --verbose |