-
Notifications
You must be signed in to change notification settings - Fork 90
57 lines (52 loc) · 1.56 KB
/
ep-install.yaml
File metadata and controls
57 lines (52 loc) · 1.56 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: EP Install Test
on:
workflow_dispatch:
inputs:
expected_version:
description: 'Expected Echopype Version to check'
required: false
default: '0.5.0'
jobs:
test-installs:
name: EP Install (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v4
with:
activate-environment: echopype
miniconda-version: "latest"
environment-file: .ci_helpers/user_environment.yml
channel-priority: strict
show-channel-urls: true
use-only-tar-bz2: false
- name: Bash
if: contains(matrix.os, 'ubuntu')
shell: bash -l {0}
run: |
conda info
conda list
rm -rf echopype
python .ci_helpers/check-version.py ${{ github.event.inputs.expected_version }}
- name: Sh
if: contains(matrix.os, 'macos')
shell: sh -l {0}
run: |
conda info
conda list
rm -rf echopype
python .ci_helpers/check-version.py ${{ github.event.inputs.expected_version }}
- name: PowerShell
if: contains(matrix.os, 'windows')
shell: powershell
run: |
conda info
conda list
rm echopype -r -fo
python .ci_helpers/check-version.py ${{ github.event.inputs.expected_version }}