-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (48 loc) · 1.68 KB
/
test_fine.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# name: Run combined tests for fine
# on:
# workflow_dispatch:
# inputs:
# tags:
# description: 'Manual run'
# push:
# branches:
# - dev
# jobs:
# TestGeokitCondaForge:
# name: Test (${{ matrix.fine-version }}, on ${{ matrix.os }})
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: ["ubuntu-latest","ubuntu-20.04", "macos-latest","macos-13","macos-12", "macos-11","windows-latest","windows-2019"]
# # fine-version: ["2.3.4","2.3.3","2.3.2","2.3.1","2.3.0","2.2.3","2.2.2"]
# fine-version: ["2.3.2","2.3.1","2.3.0","2.2.3","2.2.2"]
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# repository: FZJ-IEK3-VSA/FINE
# path: './fine'
# ref: v${{ matrix.fine-version }}
# fetch-depth: 0
# - uses: conda-incubator/setup-miniconda@v3
# with:
# miniforge-version: latest
# channels: conda-forge
# activate-environment: test_env
# - name: Run tests
# shell: pwsh
# run: |
# ls
# echo "LS Done"
# echo ${{ matrix.fine-version }}
# echo "Fine version is printed"
# mamba install -n test_env fine=${{ matrix.fine-version }} pytest=6.2.4 scikit-learn=1.1.3
# echo "Installation done"
# conda list
# echo "libaries printed"
# ls
# cd fine
# echo "start pytest"
# conda run -n test_env python -m pytest test/
# echo "Pytest done"