Skip to content

Merge pull request #156 from UnitapApp/develop #315

Merge pull request #156 from UnitapApp/develop

Merge pull request #156 from UnitapApp/develop #315

Workflow file for this run

name: Django CI
on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main", "develop"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.10.12]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: python -m pip install --upgrade pip
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Run Tests
run: python manage.py test
env:
FIELD_KEY: "rnPAm1QKx8hepMhqV0IKJxB9tdR_hhU4-0EVTGVXQg0="
SECRET_KEY: "django-insecure-!=_mi0j#rhk7c9p-0wg-3me6y&fk$+fahz6fh)k1n#&@s(9vf5"
BRIGHT_PRIVATE_KEY: "bright-private-key"
DEBUG: False
SENTRY_DSN: "DEBUG-DSN"
DATABASE_URL: sqlite:///db/db.sqlite3
MEMCACHEDCLOUD_SERVERS: " "
MEMCACHEDCLOUD_USERNAME: " "
MEMCACHEDCLOUD_PASSWORD: " "
LIGHTNING_INVOICE: lnbc100n1pjxtceppp5q65xc3w8tnnmzkhqgg9c7h4a8hzplm0dppr944upwsq4q62sjeesdqu2askcmr9wssx7e3q2dshgmmndp5scqzzsxqyz5vqsp5hj2vzha0x4qvuyzrym6ryvxwnccn4kjwa57037dgcshl5ls4tves9qyyssqj24t4j2dkp2r29ptgxqz2etsk0qp8ggwmt20czfu48h5akgme43zevg6x040scjzx3qgtp8mkcg2gurv0hy8d8xm3hhf8k68uefl9sqqqscuvz
LIGHTNING_RPC_URL: https://api.lnpay.co/v1/
LIGHTNING_WALLET: ${{ secrets.LIGHTNING_WALLET }}
LIGHTNING_FUND_MANAGER: ${{ secrets.LIGHTNING_FUND_MANAGER }}