Skip to content

Update python-package-conda-RF.yml #30

Update python-package-conda-RF.yml

Update python-package-conda-RF.yml #30

name: Python Package using Conda
on: [push]
# schedule:
# - cron: "0 1 3 * *"
jobs:
test:
name: Test python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [3.11]
steps:
- uses: actions/checkout@v2
- name: install mamba
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: false
use-only-tar-bz2: true
environment-file: RF.yml
environment-name: RF
- name: Install test packages
shell: bash -l {0}
run: |
pip install pytest nbconvert nbformat
- name: which python
shell: bash -l {0}
run: |
which python
- name: Test with pytest
shell: bash -l {0}
run: |
pytest .github/workflows/test_RF_notebooks.py