Merge branch 'fixes' into 'main'
ci: fix Gitlab CI exunit run by separating mix compile and tz_world.update See merge request framasoft/mobilizon!1445
This commit is contained in:
commit
7c019e59c6
|
@ -132,7 +132,9 @@ exunit:
|
||||||
variables:
|
variables:
|
||||||
MIX_ENV: test
|
MIX_ENV: test
|
||||||
before_script:
|
before_script:
|
||||||
- mix deps.get && mix tz_world.update
|
- mix deps.get
|
||||||
|
- mix compile
|
||||||
|
- mix tz_world.update
|
||||||
- mix ecto.create
|
- mix ecto.create
|
||||||
- mix ecto.migrate
|
- mix ecto.migrate
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -129,11 +129,11 @@ const PROFILES_PER_PAGE = 10;
|
||||||
|
|
||||||
const { restrictions } = useRestrictions();
|
const { restrictions } = useRestrictions();
|
||||||
|
|
||||||
const preferredUsername = ref("");
|
const preferredUsername = useRouteQuery("preferredUsername", "");
|
||||||
const name = ref("");
|
const name = useRouteQuery("name", "");
|
||||||
const domain = ref("");
|
const domain = useRouteQuery("domain", "");
|
||||||
|
|
||||||
const local = useRouteQuery("local", true, booleanTransformer);
|
const local = useRouteQuery("local", domain.value === "", booleanTransformer);
|
||||||
const suspended = useRouteQuery("suspended", false, booleanTransformer);
|
const suspended = useRouteQuery("suspended", false, booleanTransformer);
|
||||||
const page = useRouteQuery("page", 1, integerTransformer);
|
const page = useRouteQuery("page", 1, integerTransformer);
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,7 @@ const preferredUsername = useRouteQuery("preferredUsername", "");
|
||||||
const name = useRouteQuery("name", "");
|
const name = useRouteQuery("name", "");
|
||||||
const domain = useRouteQuery("domain", "");
|
const domain = useRouteQuery("domain", "");
|
||||||
|
|
||||||
const local = useRouteQuery("local", true, booleanTransformer);
|
const local = useRouteQuery("local", domain.value === "", booleanTransformer);
|
||||||
const suspended = useRouteQuery("suspended", false, booleanTransformer);
|
const suspended = useRouteQuery("suspended", false, booleanTransformer);
|
||||||
const page = useRouteQuery("page", 1, integerTransformer);
|
const page = useRouteQuery("page", 1, integerTransformer);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue