-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (34 loc) · 1.06 KB
/
install-conda.yml
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
36
name: Test conda install
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * 3'
jobs:
test-conda-installation:
name: Test conda install (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- name: Setup conda
uses: conda-incubator/[email protected]
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: test
- name: Conda info
shell: bash -l {0}
run: conda info
- name: Install package
shell: bash -l {0}
run: conda install -c conda-forge scmdata
- name: Checkout repository
uses: actions/checkout@v3
- name: Test installation (${{ matrix.os }} Python ${{ matrix.python-version }})
shell: bash -l {0}
run: |
which python
python scripts/test-install.py