This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
Bump lightning from 2.0.2 to 2.1.2 #410
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: Python Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
pytest: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, macOS-12] | |
python-version: ["3.10"] | |
timeout-minutes: 35 | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip --version | |
pip install -U -q -r requirements.txt -r tests/requirements.txt -f https://download.pytorch.org/whl/cpu/torch_stable.html | |
pip list | |
- name: Run Tests | |
run: coverage run --source echo -m pytest echo tests -v | |
- name: Statistics | |
run: coverage report |