Skip to content

Update branch action policy #95

Update branch action policy

Update branch action policy #95

Workflow file for this run

name: build
on:
push:
branches: ['*']
pull_request:
branches: ['*']
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test run
run: |
timeout 3 uvicorn canvas_app:app --port 9283 || [ $? -eq 124 ]