generated from fastai/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 31
34 lines (32 loc) · 1 KB
/
quick_test.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
# GitHub Actions to automatically test on sample files
name: Quick Test
env:
TMP_FOLDER: 'E:/test_dir/'
on:
push:
branches: [ master, develop]
pull_request:
branches: [ master, develop]
jobs:
Quick_Test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Install package (alphapept)
run: |
remove-item -path "C:\Users\admin\.conda\envs\alphapept" -Force -Recurse -ErrorAction SilentlyContinue
conda create --name alphapept python=3.8 -y
conda activate alphapept
pip install pip --upgrade --user
pip install ".[stable,gui-stable]"
pip install pymongo
pip install dnspython
pip install wget
- name: Run Alphapept on Thermo (IRT_Thermo_Win)
run: |
conda activate alphapept
python test_ci.py "${{ env.TMP_FOLDER }}" thermo_irt
- name: Run Alphapept on Bruker (IRT_Bruker_Win)
run: |
conda activate alphapept
python test_ci.py "${{ env.TMP_FOLDER }}" bruker_irt