mirror of
https://github.com/VikParuchuri/surya.git
synced 2026-06-21 21:39:30 +08:00
Some checks failed
Integration test / build (push) Has been cancelled
Unit tests / build (t4_gpu) (push) Has been cancelled
Unit tests / build (ubuntu-latest) (push) Has been cancelled
Unit tests / build (windows-latest) (push) Has been cancelled
Test CLI scripts / build (push) Has been cancelled
22 lines
481 B
YAML
22 lines
481 B
YAML
name: Unit tests
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [t4_gpu, ubuntu-latest, windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Python 3.11
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.11
|
|
- name: Install python dependencies
|
|
run: |
|
|
pip install poetry
|
|
poetry install
|
|
- name: Run tests
|
|
run: poetry run pytest |