Skip to content

doc fix and adding compatibility test CI/CD #2

doc fix and adding compatibility test CI/CD

doc fix and adding compatibility test CI/CD #2

name: Cross-platform Compatibility Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
os-tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} on ${{matrix.os}}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Configure Poetry and install dependencies
run: |
poetry config virtualenvs.create false
poetry install --no-interaction --with dev
- name: Run tests
run: |
poetry run pytest