feat: Added support for PyTorch Lightning in the DDP backend. #1290
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.10', '3.11', '3.12'] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
defaults: | |
run: | |
shell: bash | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install the latest version uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: latest | |
- name: create venv | |
run: uv venv --python ${{ matrix.python-version }} | |
- name: install dependencies | |
run: uv pip install -e ".[dev]" | |
- name: run tests | |
run: uv run pytest -m "" # Run all markers | |