diff --git a/.github/workflows/cd-development.yml b/.github/workflows/cd-development.yml index e7081df..0b82d2e 100644 --- a/.github/workflows/cd-development.yml +++ b/.github/workflows/cd-development.yml @@ -62,11 +62,11 @@ jobs: run: | pytest -m smoke -v --tb=short --no-cov - - name: Run unit tests (parallel) + - name: Run unit tests env: PYTHONPATH: ${{ github.workspace }} run: | - pytest -m unit -v -n auto --dist loadfile --no-cov + pytest -m unit -v --no-cov - name: Run critical integration tests env: diff --git a/tests/conftest.py b/tests/conftest.py index 3f9562e..f00f1cc 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -321,10 +321,10 @@ def task(app, project, user): name='Test Task', description='Test task description', project_id=project.id, - status='todo', priority='medium', created_by=user.id ) + task.status = 'todo' # Set after creation db.session.add(task) db.session.commit()