Skip to content

debug macos workflow add uncertain state test case #17

debug macos workflow add uncertain state test case

debug macos workflow add uncertain state test case #17

Workflow file for this run

# This workflow will install Python dependencies, run tests with a different versions of Python and different operating systems
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python test
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest] # ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps :
- uses : actions/checkout@v4
- uses : FedericoCarboni/setup-ffmpeg@v2
- name : Set up Python
uses : actions/setup-python@v4
with :
python-version: ${{ matrix.python-version }}
- name : Run image
uses : abatilo/actions-poetry@v2
- name : Setup a local virtual environment
run : |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name : Install dependencies
run : |
poetry install --with tests
- name : Execute tests
run : |
poetry run coverage run tests/run_tests.py
poetry run coverage report -m || true