diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d410deb..ad4eb7c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -27,14 +27,14 @@ jobs: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install -r requirements.txt + run: | + python -m pip install --upgrade pip + python -m pip install -r requirements.txt - name: Test api - run: python -m unittest discover \ No newline at end of file + run: python -m unittest discover \ No newline at end of file diff --git a/api/main.py b/api/main.py index d0b0b37..8413acf 100644 --- a/api/main.py +++ b/api/main.py @@ -6,7 +6,6 @@ from . import schemas, models, crud from .config import get_settings from .database import SessionLocal, engine, get_db - from .background_tasks import delete_expired_paste_task