-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (23 loc) · 948 Bytes
/
test-workflow.yml
File metadata and controls
30 lines (23 loc) · 948 Bytes
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
name: Run automated tests
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: copy to ~/go/src
run: mkdir -p ~/go/src/github.com/magiccap/magiccap-uploaders-kernel && cp -r . ~/go/src/github.com/magiccap/magiccap-uploaders-kernel && cd ~/go/src/github.com/magiccap/magiccap-uploaders-kernel
- name: Build the uploaders
run: cd ./uploaders && python3 ./build.py && cd ..
- name: Get any dependencies
run: go get .
- name: Run tests
run: go test ./tests -v
env:
ELIXIRE_TOKEN: ${{ secrets.ELIXIRE_TOKEN }}
RLME_TOKEN: ${{ secrets.RLME_TOKEN }}
MAGICCAP_INSTALL_ID: ${{ secrets.MAGICCAP_INSTALL_ID }}
NOVUS_TOKEN: ${{ secrets.NOVUS_TOKEN }}
FTW_TOKEN: ${{ secrets.FTW_TOKEN }}
REUPLOAD_TOKEN: ${{ secrets.REUPLOAD_TOKEN }}
SXCU_DATA: ${{ secrets.SXCU_DATA }}