forked from daxa-ai/pebblo
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 933 Bytes
/
tests.yml
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
# If you change this name also do it in tests_skipper.yml
name: Tests
on:
workflow_dispatch: # Activate this workflow manually
push:
branches:
- main
# release branches have the form v1.9.x
- "v[0-9].*[0-9].x"
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths:
- "pebblo/**/*.py"
- "pebblo/**/*.txt"
- "tests/**/*.py"
- "pyproject.toml"
jobs:
RunUnitTests:
strategy:
matrix:
python_version: ["3.9", "3.10", "3.11", "3.12.3", "3.12.5"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- name: Install the dependencies needed for tests
run: pip install --no-cache-dir -r tests/test_requirements.txt
- name: Run Unit Tests
run: make test