Skip to content

pr-validation

pr-validation #130

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: pr-validation
# Controls when the workflow will run
on:
push:
branches:
- main
pull_request:
schedule:
# Every monday at 3h30 UTC
- cron: '30 3 * * 1'
env:
SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL: True
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
run_tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -e ."[all_extra]"
- name: Test with pytest
run: |
pytest tests/strategies/
pytest tests/benchmarks/
# TODO: for now running only some tests. All tests should be run