Skip to content

Update main.yml

Update main.yml #1

Workflow file for this run

name: Run The Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version 3.11

Check failure on line 22 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Run The Tests

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 22, Col: 9): Unexpected value 'python-version 3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Unit Testing
run: |
cd ciphers_project
python3 manage.py test