Skip to content

Add docs makefile and update test workflow #2

Add docs makefile and update test workflow

Add docs makefile and update test workflow #2

Workflow file for this run

name: "Python: Run Tests"
on:
push:
branches: [vlm_master]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.12"]
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install asn1c
run: |
autoreconf -ivf
./configure
make
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install bitarray pytest
- name: Install example project
run: |
cd extensions/python/example_mod
A1C_PATH="$(pwd)../../../asn1c/asn1c" A1C_SKELETONS_PATH="$(pwd)../../../skeletons" pip install -v .
- name: Run tests
run: |
cd extensions/python/example_mod
pytest