Skip to content

refactor(playlists): add serializers and admin, remove unnecessary code #121

refactor(playlists): add serializers and admin, remove unnecessary code

refactor(playlists): add serializers and admin, remove unnecessary code #121

Workflow file for this run

name: FandomHub CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/local.txt
- name: Lint with flake8
run: |
pip install flake8
flake8 --config .flake8
# - name: Coverage report
# run: |
# pip install coverage
# coverage run manage.py test
# coverage report
- name: Django testing
run: |
python manage.py test
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}