Daily Build #587
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This job runs the project tests | |
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 | |
echo "Running the tests..." | |
python runner/run.py |