5
5
- cron : 0 3 * * *
6
6
workflow_dispatch :
7
7
inputs :
8
- linux_container :
9
- description : ' Which container to run AnyBody on Linux.'
10
- default : ghcr.io/anybody/anybodycon-linux:latest
11
- required : true
12
8
debug_config :
13
- description : ' A debug environment varibles which is set when running on linux.'
9
+ description : ' A debug environment varibles which is set when running tests.'
10
+ required : false
14
11
default : " "
15
12
16
13
@@ -31,13 +28,16 @@ jobs:
31
28
steps :
32
29
- uses : actions/checkout@v2
33
30
31
+ - name : Set debug env var
32
+ echo "${{ github.event.inputs.debug_config }}" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
33
+
34
34
- name : Install conda
35
35
run : |
36
36
Invoke-Webrequest -URI https://anaconda.org/conda-forge/micromamba/0.16.0/download/win-64/micromamba-0.16.0-0.tar.bz2 -OutFile ~\micromamba.tar.bz2
37
37
(Get-FileHash ~\micromamba.tar.bz2).hash -eq "d406ee990640123b05b5b55a720720513d3ad8eed6d3377324e4842c6f141308"
38
38
$env:Path = "C:\PROGRA~1\Git\usr\bin;" + $env:Path
39
39
tar -xvjf ~/micromamba.tar.bz2 --strip-components 2 -C ~ Library/bin/micromamba.exe
40
- echo "MAMBA_ROOT_PREFIX=$HOME\micromamba" >> $ GITHUB_ENV
40
+ echo "MAMBA_ROOT_PREFIX=$HOME\micromamba" | Out-File -FilePath $Env: GITHUB_ENV -Encoding utf8 -Append
41
41
42
42
- name : Create conda environment
43
43
run : |
55
55
56
56
test-linux :
57
57
runs-on : [self-hosted, linux]
58
- container : ${{ github.event.inputs.linux_container || 'ghcr.io/anybody/anybodycon-linux:latest' }}
59
58
60
59
env :
61
60
# Triggers a warning at 20 deg muscles angles
@@ -66,16 +65,14 @@ jobs:
66
65
67
66
- name : Set debug env var
68
67
run : echo ${{ github.event.inputs.debug_config }} >> $GITHUB_ENV
69
-
70
- - name : use newest anypytools
71
- run : |
72
- git clone https://github.com/AnyBody-Research-Group/AnyPyTools.git
73
- pip install ./AnyPyTools
74
-
75
68
76
- - name : Run full AMMR tests
77
- env :
78
-
79
- RLM_LICENSE_PASSWORD : ${{ secrets.LICENSE_PASSWORD }}
80
- run : pytest -n 2 Tests
69
+ - name : Run AnyBody tests
70
+
71
+ with :
72
+ license_server_password : ${{ secrets.LICENSE_PASSWORD }}
73
+ license_server : ${{ secrets.LICENSE_SERVER }}
74
+ run : |
75
+ cd Tests
76
+ pytest --runslow -n 2
77
+
81
78
0 commit comments