-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 826 Bytes
/
test.yaml
File metadata and controls
40 lines (38 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Test
on:
workflow_dispatch:
workflow_call:
push:
branches:
- main
paths:
- chroma_ops/**
pull_request:
paths:
- chroma_ops/**
jobs:
test:
runs-on: [ "ubuntu-latest" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
set -e
python -m pip install --upgrade pip
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
set -e
poetry update --with dev
- name: Lint
run: |
set -e
make lint
- name: Run tests
run: |
set -e
poetry run pytest -n auto