Skip to content

Add missing jobs block in test github action runner #4

Add missing jobs block in test github action runner

Add missing jobs block in test github action runner #4

name: Run tests and Commit
on: push
jobs:
test:
steps:
- uses: actions/checkout@v4

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

View workflow run for this annotation

GitHub Actions / .github/workflows/github-actions-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
- 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