Skip to content

test

test #693

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
python-version: ['3.9', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-xdist
- name: pytest (pipeliny)
run: |
python3 -m pytest -v data
- name: pytest (main)
run: |
python3 -m pytest -v -n 4 --durations=5 main_test.py