Skip to content

improvements to tests remove cache clearing (no longer needed) and cl… #12

improvements to tests remove cache clearing (no longer needed) and cl…

improvements to tests remove cache clearing (no longer needed) and cl… #12

Workflow file for this run

name: NEF-Pipelines
on:
push:
branches: [ "master" ]
pull_request:
schedule:
# Run roughly every 15 days at 00:00 UTC
# (useful to check if updates on dependencies break the package)
- cron: '0 0 1,16 * *'
permissions:
contents: read
jobs:
build:
strategy:
matrix:
python-version: [ "3.9", "3.10", "3.11"] #, "3.12" ]
os: [ubuntu-latest, macos-latest] #windows-latest]
runs-on: ${{ matrix.os }}
steps:
# - name: Support longpaths
# run: git config --system core.longpaths true
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set pythonpath
run: |
PWD=$(pwd)
echo "PYTHONPATH=${PWD}/src" >> $GITHUB_ENV
- name: Run pytest
run: |
pytest --disable-warnings src/nef_pipelines/tests