Skip to content

Merge pull request #32 from JecaTosovic/dependabot/github_actions/act… #199

Merge pull request #32 from JecaTosovic/dependabot/github_actions/act…

Merge pull request #32 from JecaTosovic/dependabot/github_actions/act… #199

Workflow file for this run

name: PUSH
on: [push]
jobs:
build:
runs-on: [ubuntu-latest]
strategy:
matrix:
python-version: ["3.9","3.10","3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Create Python Environment
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
environment-file: .github/workflows/envs/environment.yml
channels: conda-forge
activate-environment: test
show-channel-urls: true
miniforge-variant: Mambaforge
use-mamba: true
- name: Install package
shell: bash -l {0}
run: |
pip install -e .
- name: Test with pytest
shell: bash -l {0}
run: |
which python
python -m pip install pytest
pytest