Skip to content

update github actions #91

update github actions

update github actions #91

Workflow file for this run

name: CI run tests
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: build and install
run: |
pip install .
- name: test importability
run:
python -E -Wall -bb -c 'import miniaudio'
- name: pytest
run: |
pip install -r requirements-test.txt
pytest -v tests/