-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (33 loc) · 1.01 KB
/
tests.yaml
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
41
42
43
44
45
46
name: Tests
on:
push:
branches: [ main, dev,]
pull_request:
branches: [ main, dev,]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10.12",]
# python-version: ["3.8.1", "3.9.1", "3.10.12", "3.11.1", "3.12.1"]
poetry-version: ["1.7.0"]
# pandas-version: ["2.2.0", "2.1.0", "2.0.0", "1.5.0", "1.4.0", "1.3.0"]
# scikit-learn-version: ["1.4.0", "1.3.0", "1.2.0", "1.1.0", "1.0",]
# runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: View poetry --help
run: poetry --help
- name: poetry Install
run: poetry install --without doc,static,notebook
- name: Run tests with pytest
run: poetry run pytest