-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 965 Bytes
/
mamba.yml
File metadata and controls
35 lines (33 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Test conda
on: [push, pull_request]
jobs:
test:
name: test ${{ matrix.py }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os:
- Ubuntu
py:
- "3.8"
steps:
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.py }}
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version}}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
- name: Install mamba
run: conda install mamba -n base -c conda-forge -y
- uses: actions/checkout@v3
- name: Upgrade pip
run: python -m pip install -U pip
- name: Install dependencies
run: python -m pip install -e '.[test]'
- name: Run pytest
run: pytest