Skip to content

Create 27-Remove-Element.py #9

Create 27-Remove-Element.py

Create 27-Remove-Element.py #9

Workflow file for this run

# .github/workflows/python-test.yml
```yaml

Check failure on line 3 in .github/workflows/python-test.yml

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 3
name: Python CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: |
pytest -v tests/
```