Skip to content

Update binding generation #13

Update binding generation

Update binding generation #13

Workflow file for this run

name: build-and-test
on:
workflow_dispatch:
pull_request:
branches:
- "**"
concurrency:
group: build-and-test-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml pygccxml castxml
- name: Set PYTHONPATH
run: |
echo "PYTHONPATH=${{ github.workspace }}/cppwg:$PYTHONPATH" >> ${GITHUB_ENV}
- name: Run tests
run: python -m unittest tests/test_shapes.py