Skip to content

Update test.yml

Update test.yml #5

Workflow file for this run

name: GIL Talk Demo
on: push
permissions:
contents: read
jobs:
build:
strategy:
matrix:
version: ["3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "${{ matrix.version }}"
- name: Build and run tests
run: |
python python_c_extension/setup.py build
cp -r build/*/* python_c_extension
python -m unittest discover tests/ -v