updated version to 0.1.84 #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.8" , "3.9", "3.10", "3.11", "3.12"] #, "3.13-beta.1" ] | |
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 | |
- name: Run nef entry point | |
run: | | |
python src/nef_pipelines/main.py | |
- name: Check all plugins load | |
run: | | |
python src/nef_pipelines/main.py 2> /tmp/nef_pipelines.log | |
! grep -q "WARNING: the following plugins failed to load" /tmp/nef_pipelines.log |