Use basename when converting deviation path to name #94
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: Run unit tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get install -y build-essential libglib2.0-dev libxml2-dev libcunit1-dev libjansson-dev liblua5.2-dev | |
- name: Clone apteryx | |
uses: actions/checkout@v2 | |
with: | |
repository: alliedtelesis/apteryx | |
path: apteryx | |
- name: Build Apteryx | |
run: make -C ./apteryx | |
- name: Build | |
run: APTERYX_PATH=./apteryx make | |
- name: Run tests | |
run: APTERYX_PATH=./apteryx make test |