-
Notifications
You must be signed in to change notification settings - Fork 14
40 lines (36 loc) · 1.59 KB
/
daily-build.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
name: Daily Build
on:
schedule:
- cron: "0 5 * * *"
workflow_dispatch:
jobs:
# This workflow contains a single job called "build"
build-and-test-cron:
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 30
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Run tests on MASTER branch
if: ${{ github.ref == 'refs/heads/master' }}
env:
FBN_TOKEN_URL: ${{ secrets.FBN_TOKEN_URL }}
FBN_USERNAME: ${{ secrets.FBN_USERNAME }}
FBN_PASSWORD: ${{ secrets.FBN_PASSWORD }}
FBN_CLIENT_ID: ${{ secrets.FBN_CLIENT_ID }}
FBN_CLIENT_SECRET: ${{ secrets.FBN_CLIENT_SECRET }}
FBN_LUSID_API_URL: ${{ secrets.FBN_LUSID_API_URL }}
FBN_LUMI_API_URL: ${{ secrets.FBN_LUMI_API_URL }}
FBN_APP_NAME: ${{ secrets.FBN_APP_NAME }}
FBN_LUSID_ACCESS_TOKEN: ${{ secrets.FBN_LUSID_ACCESS_TOKEN }}
FBN_DRIVE_API_URL: ${{ secrets.FBN_DRIVE_API_URL }}
FBN_NOTIFICATIONS_API_URL: ${{ secrets.FBN_NOTIFICATIONS_API_URL }}
PYTHONPATH: /home/runner/work/luminesce-examples/luminesce-examples
run: |
echo "env variables for MASTER have been set"
pip install -r requirements.txt
pip install dve-lumipy-preview==0.1.1005 --no-dependencies
echo "Running the tests..."
python runner/run.py