-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (45 loc) · 1.36 KB
/
thefirst-windows.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
name: Install in conda env - windowz
on:
push:
paths:
- '**.py'
- '.github/workflows/thefirst-windows.yml'
- 'env/fingeRNAt_env.yml'
- 'tests/just_run.sh'
jobs:
build:
strategy:
matrix:
# os: ['ubuntu-18.04', 'ubuntu-20.04', 'macos-latest', 'windows-latest']
os: ['windows-latest']
# python-version: [3.5, 3.7, 3.8, 3.9]
python-version: [3.9]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2.0.1
with:
auto-update-conda: true
auto-activate-base: false
miniconda-version: 'latest'
python-version: ${{ matrix.python-version }}
environment-file: env/fingeRNAt_env.yml
activate-environment: fingernat
- name: list packages
shell: pwsh
run: |
conda list
- name: run test
shell: pwsh
run: |
conda env list
cd tests
python fingeRNAt_test.py
# python ../code/fingeRNAt.py -r test_inputs/3d2v.pdb -l test_inputs/redocked.sdf -f FULL -h2o -custom test_inputs/custom-interactions.yaml -detail -debug > debug.txt
- uses: actions/upload-artifact@v2
with:
name: outfiles
path: tests/outputs/
retention-days: 5