Skip to content

Upgraded python version and all packages #253

Upgraded python version and all packages

Upgraded python version and all packages #253

Workflow file for this run

name: job-portal
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# - name: Run black code formatter
# run: |
# black --check --exclude=./*/migrations/ ./
# - name: Django Testing project
# run: |
# python manage.py collectstatic
# python manage.py test # Don't forget to run tests
# - name: Deploy to Heroku
# env:
# HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }}
# HEROKU_APP_NAME: ${{ secrets.HEROKU_APP_NAME }}
# if: github.ref == 'refs/heads/master' && job.status == 'success'
# run: |
# git remote add heroku https://heroku:$HEROKU_API_TOKEN@git.heroku.com/$HEROKU_APP_NAME.git
# git push heroku HEAD:master -f