Migrate to Github Action CI (#507)

* Some small refactors

* Initial test script

* Fixes django matrix

* Trying to set up Disque

* Disque as a docker service

* lowercase action name

* Remove Travis

* Replaces Travis badge with Github actions badge

* Show django version in step

* Typo
This commit is contained in:
Ilan Steemers
2021-02-14 18:59:04 +01:00
committed by GitHub
parent e2580051bc
commit 7d03536e89
12 changed files with 78 additions and 75 deletions
+1 -2
View File
@@ -260,7 +260,7 @@ def fetch_cached(task_id, wait=0, broker=None):
r = broker.cache.get(f"{broker.list_key}:{task_id}")
if r:
task = SignedPackage.loads(r)
t = Task(
return Task(
id=task["id"],
name=task["name"],
func=task["func"],
@@ -272,7 +272,6 @@ def fetch_cached(task_id, wait=0, broker=None):
result=task["result"],
success=task["success"],
)
return t
if (time() - start) * 1000 >= wait >= 0:
break
sleep(0.01)