Skip to content

21

21 #857

Workflow file for this run

name: tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
concurrency:
group: environment-${{ github.ref }}
cancel-in-progress: true
env:
BUILD_TYPE: Debug
jobs:
test:
runs-on: ${{matrix.os}}
# continue-on-error: true
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: ["3.12"]
# python: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Display Python version
run: python -c "import sysconfig, platform; print(platform.system(), sysconfig.get_python_version())"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
- name: Install shedskin
run: pip install .
- name: Test shedskin
run: |
cd tests
shedskin test --conan
- name: Test shedskin examples
run: |
cd examples
shedskin test --conan