Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Enable 3.11 conda for bovine
Browse files Browse the repository at this point in the history
Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
pdxjohnny committed Nov 23, 2023
1 parent 1a4d2b5 commit 2b19d26
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,38 @@ on:
workflow_dispatch:

jobs:
ci-venv:
ci:
name: CI (venv)
runs-on: ubuntu-latest
strategy:
matrix:
conda: [true, false]
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: ./run-tests.sh

ci-conda:
name: CI (conda)
runs-on: ubuntu-latest
defaults:
run:
# https://github.com/conda-incubator/setup-miniconda#use-a-default-shell
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
if: ${{ matrix.conda == true }}
with:
activate-environment: scitt
environment-file: environment.yml
- run: |
python-version: ${{ matrix.python-version }}
- name: Run tests with conda
if: ${{ matrix.conda == true }}
run: |
python -m pip install -e .
python -m pytest
- name: Set up Python ${{ matrix.python-version }}
if: ${{ matrix.conda == false }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run tests with venv
if: ${{ matrix.conda == false }}
run: ./run-tests.sh

ci-cd-build-and-push-image-container:
name: CI/CD (container)
Expand Down

0 comments on commit 2b19d26

Please sign in to comment.