-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (54 loc) · 1.8 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Test
on:
push:
branches: ["master", "dev", "autotest"]
pull_request:
branches: ["master", "dev"]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: [1.9.3]
julia-arch: [x86]
os: [ubuntu-latest]
steps:
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- uses: actions/checkout@v4
- uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.SOLPSTESTSAMPLES_SSH_KEY}}
${{ secrets.DVC_SSH_KEY }}
- name: Configure ssh
run: |
echo "{{ secrets.DVC_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
echo "{{ secrets.DVC_SSH_CONFIG_1 }}" >> ~/.ssh/config
echo " {{ secrets.DVC_SSH_CONFIG_2 }}" >> ~/.ssh/config
echo " {{ secrets.DVC_SSH_CONFIG_3 }}" >> ~/.ssh/config
echo " {{ secrets.DVC_SSH_CONFIG_4 }}" >> ~/.ssh/config
echo "{{ secrets.DVC_SSH_CONFIG_5 }}" >> ~/.ssh/config
echo " {{ secrets.DVC_SSH_CONFIG_6 }}" >> ~/.ssh/config
echo " {{ secrets.DVC_SSH_CONFIG_7 }}" >> ~/.ssh/config
echo " {{ secrets.DVC_SSH_CONFIG_8 }}" >> ~/.ssh/config
- name: Test ssh
run: |
echo "$(ssh cybele 'ls ./test/')"
echo "$(ssh iris 'ls ./test/')"
echo "$(ssh omega 'ls ./test/')"
- uses: iterative/setup-dvc@v1
- name: DVC Pull
run: |
dvc pull
- uses: julia-actions/cache@v1
# - uses: julia-actions/julia-buildpkg@v1
- name: Setup julia environment
run: |
make u
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v2
with:
files: lcov.info