Skip to content

Fix LuaJIT rolling release version #42

Fix LuaJIT rolling release version

Fix LuaJIT rolling release version #42

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version:
- '2.7'
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v3
- uses: MatteoH2O1999/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
allow-build: info
cache-build: true
- name: Set MACOSX_DEPLOYMENT_TARGET
if: runner.os == 'macOS'
run: |
echo 'MACOSX_DEPLOYMENT_TARGET=10.12' >> $GITHUB_ENV
- name: Install test runner
run: |
pip install --upgrade pip wheel setuptools
pip install pytest-cov
- name: Run tests
run: |
pytest --cov -- test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3