Skip to content

Create python-app.yml #1

Create python-app.yml

Create python-app.yml #1

Workflow file for this run

name: Python Application
on:

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

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 3
push:
branches: [main]
pull_request:
branches: [main]
jobs:
echo-print:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pytest