Skip to content

Commit

Permalink
Updated test workflow advances #2
Browse files Browse the repository at this point in the history
  • Loading branch information
pab1s committed Mar 19, 2024
1 parent d871396 commit fc269c8
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/test_workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python Tests
name: Conda Environment Workflow

on:
push:
Expand All @@ -7,27 +7,28 @@ on:
branches: [ main ]

jobs:
test:
build:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.11]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v4
with:
python-version: ${{ matrix.python-version }}
auto-update-conda: true
environment-file: environment.yaml
activate-environment: tda-nn-separability
python-version: 3.11
conda-channels: conda-forge

- name: Install dependencies
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
conda info
conda list
- name: Run tests
shell: bash -l {0}
run: |
pytest tests/

0 comments on commit fc269c8

Please sign in to comment.