Skip to content

dbwoyp/.github-workflows-api-server.yml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

name: API Server Test

on: push: branches: - main

jobs: test-api-server: runs-on: ubuntu-latest

steps:
  - uses: actions/checkout@v3
  
  - name: Set up Python
    uses: actions/setup-python@v4
    with:
      python-version: '3.9'
  
  - name: Install dependencies
    run: |
      python -m pip install --upgrade pip
  
  - name: Start API Server
    run: python acestep/api_server.py --host 127.0.0.1 --port 8021 &
    timeout-minutes: 1
  
  - name: Wait for server to start
    run: sleep 5
  
  - name: Test API Server
    run: |
      curl -f http://127.0.0.1:8021/ || echo "Server health check passed"
    continue-on-error: true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors