Skip to content

last

last #14

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
defaults:
run:
working-directry: ./app/

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

View workflow run for this annotation

GitHub Actions / CI/CD Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 13, Col: 11): Unexpected value 'working-directry'

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

View workflow run for this annotation

GitHub Actions / CI/CD Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 13, Col: 11): Unexpected value 'working-directry'
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install pytest
run: |
python -m pip install pytest
- name: Run tests
run: python script.py