Skip to content

Merge pull request #82 from software-students-fall2023/JW_Feature #1

Merge pull request #82 from software-students-fall2023/JW_Feature

Merge pull request #82 from software-students-fall2023/JW_Feature #1

Workflow file for this run

name: Web-App CI/CD
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install FFmpeg
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pipenv
pipenv sync --dev --python $(which python)
pipenv shell --fancy --python $(which python)
- name: Test with pytest (web-app)
run: |
cd web-app
pipenv run coverage run -m pytest
pipenv run coverage report --fail-under=80