Skip to content

Merge branch 'main' of https://github.com/unaschneck/pydar into main #42

Merge branch 'main' of https://github.com/unaschneck/pydar into main

Merge branch 'main' of https://github.com/unaschneck/pydar into main #42

Workflow file for this run

name: pytests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-20.04 # specifically calls the version number instead of lastest to work on 'act'
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ['3.9', '3.10', '3.11', '3.12']
name: Python (${{ matrix.python-version }} on ${{ matrix.os }})
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True
pip install -r requirements.txt
- name: Test with pytest
run: |
python -m pytest