Skip to content

Feature/Ensure ACK before action #6

Feature/Ensure ACK before action

Feature/Ensure ACK before action #6

Workflow file for this run

name: Run Tests
on:
pull_request:
branches:
- main
- dev
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Install system dependencies
run: |
sudo add-apt-repository ppa:ettusresearch/uhd
sudo apt update
sudo apt install -y \
fftw-dev \
libboost-all-dev \
libuhd-dev \
uhd-host \
libairspy-dev \
libhackrf-dev \
cmake \
build-essential
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cache/pypoetry
~/.cache/pip
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: Run tests
run: |
poetry run pytest