Skip to content

CI

CI #361

Workflow file for this run

name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ "**" ]
schedule:
- cron: '0 9 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.9' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Checkout github repo
uses: actions/checkout@v3
with:
lfs: true
- uses: actions/cache@v3
name: api-examples-cache
id: api-examples-cache
with:
path: |
'./jobs/.pip'
key: ${{ runner.os }}-python-cache-v3
- name: Install
run: bash ./bin/install.sh
- name: Test
env:
PIPE_API_KEY: ${{ secrets.PIPE_API_KEY }}
PROJECT_NAME: ${{ secrets.PROJECT_NAME }}
TARGET_FOLDER_ID: ${{ secrets.TARGET_FOLDER_ID }}
run: bash ./bin/run-tests.sh