Skip to content

adding content type to files_reference array #208

adding content type to files_reference array

adding content type to files_reference array #208

Workflow file for this run

name: Django CI
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
TESTS:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.9]
steps:
- name: Start Postgresql service
run: |
sudo systemctl start postgresql.service
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
git submodule init
git submodule update
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Migration
run: |
python server/manage.py migrate
- name: Run Tests
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
TOKEN_ADDRESS: ${{ secrets.TOKEN_ADDRESS }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
DEBUG: ${{ secrets.DEBUG }}
IPFS_SERVICE_ENDPOINT: ${{ secrets.IPFS_SERVICE_ENDPOINT }}
run: |
cd server
python manage.py test