Skip to content

Merge pull request #23 from zzjc1234/main #104

Merge pull request #23 from zzjc1234/main

Merge pull request #23 from zzjc1234/main #104

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 ]