Skip to content

Commit

Permalink
update CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
uniqueg committed Sep 11, 2023
1 parent 3c5cc6f commit cfa8f0a
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,18 @@ jobs:
steps:

- name: check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: set up miniconda and env
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: "3.9"
mamba-version: "*"
channels: conda-forge,defaults
environment-file: environment.yml
auto-update-conda: true
activate-environment: htsinfer
environment-file: environment-dev.yml
auto-activate-base: false

- name: update env with dev packages
run: mamba env update --file environment-dev.yml

- name: display env info
run: |
conda info -a
Expand Down Expand Up @@ -63,16 +60,12 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
auto-update-conda: true
mamba-version: "*"
channels: conda-forge,defaults
environment-file: environment.yml
auto-update-conda: true
activate-environment: htsinfer
environment-file: environment-dev.yml
auto-activate-base: false

- name: update env with dev packages
run: mamba env update --file environment-dev.yml

- name: display env info
run: |
conda info -a
Expand Down Expand Up @@ -107,22 +100,18 @@ jobs:
steps:

- name: check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: set up miniconda and env
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
auto-update-conda: true
mamba-version: "*"
channels: conda-forge,defaults
environment-file: environment.yml
auto-update-conda: true
activate-environment: htsinfer
environment-file: environment-dev.yml
auto-activate-base: false

- name: update env with dev packages
run: mamba env update --file environment-dev.yml

- name: display env info
run: |
conda info -a
Expand Down Expand Up @@ -171,4 +160,4 @@ jobs:
run: |
echo "Push indicator: ${{ steps.docker.outputs.push-indicator }}"
echo "# Set to 'true' if image was pushed, empty string otherwise"
test "${{ steps.docker.outputs.push-indicator }}" == "true"
test "${{ steps.docker.outputs.push-indicator }}" == "true"

0 comments on commit cfa8f0a

Please sign in to comment.