Skip to content

fix: change error lint code #3

fix: change error lint code

fix: change error lint code #3

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set up enviroment varibles
run: |
echo "SECRET_KEY"=${{ secrets.DJANGO_SECRET_KEY }} >> $GITHUB_ENV
- name: Run linters
run: |
flake8
- name: Run tests
run: |
python manage.py test
- name: Deploy
run: |
echo "Deploying application..."