Skip to content

Commit

Permalink
enhancement #46: set up environement for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienDanieau committed Aug 7, 2024
1 parent 9d63afa commit dc4445c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Pytest

on: [pull_request]

jobs:
tests:

runs-on: ubuntu-24.04

steps:
- name: Install Gstreamer
run: sudo apt-get -y install libssl-dev git python3-pip pkg-config libcairo2-dev gcc python3-dev libgirepository1.0-dev python3-gst-1.0 gir1.2-gst-plugins-bad-1.0 gstreamer1.0-plugins-bad gstreamer1.0

- name : Install Rust
uses: hecrj/setup-rust-action@v2

- name: Clone gst-plugins-rs
run: |
git clone -b 0.12.8 --depth 1 https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
cd gst-plugins-rs/net/webrtc/signalling/
cargo build
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .

0 comments on commit dc4445c

Please sign in to comment.