forked from narwhals-dev/narwhals
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 988 Bytes
/
random_ci_pytest.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
name: random-versions
on:
pull_request:
jobs:
tox:
strategy:
matrix:
python-version: ["3.9"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install package
run: pip install -e .
- name: generate-random-versions
run: python utils/generate_random_versions.py
- name: install-reqs
run: python -m pip install --upgrade tox virtualenv setuptools pip && python -m pip install -r requirements-dev.txt
- name: uninstall scipy/sklearn
run: python -m pip uninstall -y scipy scikit-learn
- name: install-random-verions
run: python -m pip install -r random-requirements.txt
- name: show versions
run: python -m pip freeze
- name: Run pytest
run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=80