Skip to content

Update python-app.yml #18

Update python-app.yml

Update python-app.yml #18

Workflow file for this run

Skip to content
ka8540
/
SWEN732-team1
Type / to search
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Settings
Python application
Update python-app.yml #16
Jobs
Run details
Workflow file for this run
.github/workflows/python-app.yml at ae18fbf
name: Python application

Check failure on line 23 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 23
on:
push:
branches:
- "*" # Run on all branches for any push events
pull_request:
branches:
- "*" # Run on all branches for any pull request events
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9' # Specify your Python version here
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt # Install dependencies from your requirements.txt file
- name: Run unit tests
run: |
python -m unittest discover PCP/server/tests -v
Update python-app.yml · ka8540/SWEN732-team1@ae18fbf