Skip to content

Test on Multiple OS #59

Test on Multiple OS

Test on Multiple OS #59

Workflow file for this run

name: Test on Multiple OS
on:
# push:
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
path: .
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
pip install .[cloud]
pip install pytest
- name: Show working directory and files
shell: bash
run: |
pwd
ls -la
- name: Run tests
run: |
pytest -v test --import-mode=importlib --maxfail=1 --disable-warnings -m "not local"
working-directory: ${{ github.workspace }}