Skip to content

test

test #297

Workflow file for this run

name: Push
on: [push]
jobs:
tests:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
poetry-version: ['1.2.2']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install --extras "deepspeed gpu"
- name: Run tests
run: poetry run make tests
linters:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
poetry-version: ['1.2.2']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install --extras "deepspeed gpu"
- name: Run linters
run: poetry run make lint