Fixing query param issue #191
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |