Skip to content

Commit

Permalink
Run voiptests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 3, 2024
1 parent 566ed01 commit a0f7b4d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/rtp.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,31 @@ jobs:
run: |
apt-get install -y libsrtp2-dev
ONE_MODULE=rtp.io LDFLAGS=-flto CFLAGS=-flto sh -x scripts/build/do_build.sh
- name: Checkout VoIPTests repo
uses: actions/checkout@v4
with:
repository: 'sippy/voiptests'
path: dist/voiptests

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Define PYTHON_CMD
run: |
PYTHON_VER="`echo 3.12 | sed 's|-dev$||'`"
echo "PYTHON_CMD=python${PYTHON_VER}" >> $GITHUB_ENV
- name: Test rtp.io module
env:
MM_TYPE: opensips
MM_BRANCH: master
MM_ROOT: ../../
RTPP_BRANCH: DOCKER
RTPPC_TYPE: unix
run: |
cd dist/voiptests
CC=${COMPILER} python -m pip install -r requirements.txt
sh -x ./test_run.sh

0 comments on commit a0f7b4d

Please sign in to comment.