Skip to content

Commit

Permalink
Updated Python version of Function-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
konegen committed Nov 7, 2024
1 parent e810df8 commit f70e8f5
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/Function-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,19 @@ on:

jobs:
build:

runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-20.04]


runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10.12
uses: actions/setup-python@v4
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.10.12
architecture: x64
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
python-version: 3.10
auto-activate-base: false
activate-environment: myenv
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r "requirements.txt"
conda install -y pip
pip install -r requirements.txt
- name: Run pruning function test script
run: |
python src/test/pruning_function_test.py

0 comments on commit f70e8f5

Please sign in to comment.