From 5bd1656b47dcaae44f1d2b0e9cb2f63e136f7338 Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Fri, 3 Nov 2023 21:35:20 +0100 Subject: [PATCH] fix: benchmark workflow execution --- .github/workflows/ci.yml | 10 ++++++++++ tests/integration/benchmarks/models.py | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9be0eef0..3984e19e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -168,3 +168,13 @@ jobs: run: ./realworld/api/run-api-tests.sh env: APIURL: http://localhost:8000 + + all-ci-checks: + needs: + - static-analysis + - compatibility-tests + - tests + - integrated-realworld-test + runs-on: ubuntu-latest + steps: + - run: echo "All CI checks passed." diff --git a/tests/integration/benchmarks/models.py b/tests/integration/benchmarks/models.py index 04f23b2c..64599f46 100644 --- a/tests/integration/benchmarks/models.py +++ b/tests/integration/benchmarks/models.py @@ -3,7 +3,9 @@ from datetime import datetime from decimal import Decimal from random import choice -from typing import Iterator, Literal, Optional, get_args +from typing import Iterator, Optional, get_args + +from typing_extensions import Literal from odmantic import Field, Model