Skip to content

update

update #17

Workflow file for this run

name: Local Test with act

Check failure on line 1 in .github/workflows/local-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/local-test.yml

Invalid workflow file

(Line: 8, Col: 5): Required property is missing: runs-on
on:
workflow_dispatch:
jobs:
test:
container:
image: catthehacker/ubuntu:act-latest
env:
OPENAI_API_KEY: "123"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12.6'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pytest