Skip to content

Commit

Permalink
Update tests-conda.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxdrPolyakov authored Sep 5, 2024
1 parent ac0175e commit 78a913c
Showing 1 changed file with 52 additions and 52 deletions.
104 changes: 52 additions & 52 deletions .github/workflows/tests-conda.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
name: Conda

on:
push:
branches: [main]
pull_request:
branches: [main]

workflow_dispatch:

jobs:
create-env:
name: tests-pytest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["macos-latest"]
python-version: ["3.9"]
defaults:
run:
shell: bash -l {0}

steps:
- name: Checking out repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: false
channels: conda-forge, defaults
python-version: ${{ matrix.python-version }}
activate-environment: tw_exp
environment-file: envs/environment.yml


- name: Conda info
shell: bash -el {0}
run: conda info
- name: Conda list
shell: pwsh
run: conda list

- name: Testing (without coverage)
run: pytest tests/
# name: Conda

# on:
# push:
# branches: [main]
# pull_request:
# branches: [main]

# workflow_dispatch:

# jobs:
# create-env:
# name: tests-pytest
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: ["macos-latest"]
# python-version: ["3.9"]
# defaults:
# run:
# shell: bash -l {0}

# steps:
# - name: Checking out repo
# uses: actions/checkout@v2
# with:
# persist-credentials: false

# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}

# - name: Set up conda
# uses: conda-incubator/setup-miniconda@v2
# with:
# auto-activate-base: false
# channels: conda-forge, defaults
# python-version: ${{ matrix.python-version }}
# activate-environment: tw_exp
# environment-file: envs/environment.yml


# - name: Conda info
# shell: bash -el {0}
# run: conda info
# - name: Conda list
# shell: pwsh
# run: conda list

# - name: Testing (without coverage)
# run: pytest tests/

0 comments on commit 78a913c

Please sign in to comment.