| 1 | name: unittests |
| 2 | on: |
| 3 | push: |
| 4 | pull_request: |
| 5 | types: [opened, reopened] |
| 6 | jobs: |
| 7 | build: |
| 8 | runs-on: ubuntu-latest |
| 9 | strategy: |
| 10 | matrix: |
| 11 | python-version: ['3.9', '3.10', '3.11', '3.12'] |
| 12 | steps: |
| 13 | - uses: actions/checkout@v3 |
| 14 | - name: Set up Python |
| 15 | id: setup-python |
| 16 | uses: actions/setup-python@v3 |
| 17 | with: |
| 18 | python-version: ${{ matrix.python-version }} |
| 19 | - name: Install dependencies |
| 20 | run: | |
| 21 | sudo apt-get install -y librtmp-dev libevent-dev |
| 22 | python -m pip install --upgrade pip |
| 23 | make setup |
| 24 | - name: Test with pyvows |
| 25 | run: make test |