mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 12:56:30 +01:00
CI: Fix failing test, extending postgres testing timeout
This commit is contained in:
parent
4f9383ee33
commit
082e355bd4
2 changed files with 6 additions and 7 deletions
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
fail-fast: true
|
||||
matrix:
|
||||
python-version: ["3.12", "3.13", "3.14"]
|
||||
include:
|
||||
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
fail-fast: true
|
||||
matrix:
|
||||
python-version: ["3.12", "3.13", "3.14"]
|
||||
|
||||
|
|
@ -93,11 +93,11 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
fail-fast: true
|
||||
matrix:
|
||||
python-version: ["3.12", "3.13", "3.14"]
|
||||
|
||||
timeout-minutes: 35
|
||||
timeout-minutes: 45
|
||||
|
||||
services:
|
||||
postgres:
|
||||
|
|
|
|||
|
|
@ -8,11 +8,10 @@ Testing puzzles.
|
|||
import itertools
|
||||
import re
|
||||
|
||||
from mock import Mock
|
||||
|
||||
from evennia.commands.default.tests import BaseEvenniaCommandTest
|
||||
from evennia.utils import search
|
||||
from evennia.utils.create import create_object
|
||||
from mock import Mock
|
||||
|
||||
from . import puzzles
|
||||
|
||||
|
|
@ -42,7 +41,7 @@ class TestPuzzles(BaseEvenniaCommandTest):
|
|||
def _keys(items):
|
||||
return [item["key"] for item in items]
|
||||
|
||||
recipes = search.search_script_tag("", category=puzzles._PUZZLES_TAG_CATEGORY)
|
||||
recipes = search.search_script_tag(category=puzzles._PUZZLES_TAG_CATEGORY)
|
||||
self.assertEqual(expected_count, len(recipes))
|
||||
self.assertEqual(name, recipes[expected_count - 1].db.puzzle_name)
|
||||
self.assertEqual(parts, _keys(recipes[expected_count - 1].db.parts))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue