Skip to content

Commit

Permalink
Update Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gmzsebastian committed Apr 30, 2024
1 parent 100ebbc commit 181aebd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,22 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: stips
environment-file: environment.yml
python-version: ${{ matrix.python }}
auto-activate-base: false
miniconda-version: "latest" # Ensure Miniconda is installed if not found

- name: Test with tox
shell: bash -l {0}
if: ${{ matrix.name != 'Python Long' }}
run: |
tox -e test
- name: Test slow tests with pytest
shell: bash -l {0}
if: ${{ matrix.name == 'Python Long' }}
Expand All @@ -57,17 +61,20 @@ jobs:
name: "docs_test"
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: stips
environment-file: environment.yml
python-version: 3.9
auto-activate-base: false

- name: Build Docs
shell: bash -l {0}
run: |
Expand Down

0 comments on commit 181aebd

Please sign in to comment.