Skip to content

Update ci.yml

Update ci.yml #2

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: CI
on:
pull_request:
branches:
- dummy_main
jobs:
test-full:
name: Run CI Tests
runs-on: [ubuntu-latest, gpu]
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.10.5"]
steps:
- name: Checkout
- uses: actions/checkout@v3
- name: Set up Python 3.10.5
uses: actions/setup-python@v3
with:
python-version: "3.10.5"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: python -m pytest