Skip to content

Add missing jobs block in test github action runner #5

Add missing jobs block in test github action runner

Add missing jobs block in test github action runner #5

name: Run tests and Commit
on: push
jobs:
test:
steps:

Check failure on line 6 in .github/workflows/github-actions-tests.yml

View workflow run for this annotation

GitHub Actions / Run tests and Commit

Invalid workflow file

The workflow is not valid. .github/workflows/github-actions-tests.yml (Line: 6, Col: 5): Required property is missing: runs-on
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with unittest
run: |
python3 -m unittest test/sample_cases_test.py