Skip to content

changed to json config file for logging and background async task now… #8

changed to json config file for logging and background async task now…

changed to json config file for logging and background async task now… #8

Workflow file for this run

name: tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
env:
ENV_NAME: testing
BASE_URL: 127.0.0.1:8000
DB_URL: sqlite:///./db.sqlite3
INTERVAL: 3600
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10"]
steps:
- 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: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Test api
run: python -m unittest discover