Skip to content

Updated Python version of Function-test.yml #15

Updated Python version of Function-test.yml

Updated Python version of Function-test.yml #15

Workflow file for this run

name: Function test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.10
auto-activate-base: false
activate-environment: myenv
- name: Install dependencies
run: |
conda install -y pip
pip install -r requirements.txt
- name: Run pruning function test script
run: |
python src/test/pruning_function_test.py