From 16ca4609e81550a194155efa72db68a369dab6b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=96mer=20Faruk=20=C3=96zdemir?= <farukozderim@gmail.com>
Date: Tue, 29 Mar 2022 19:18:27 +0300
Subject: [PATCH] blocks-tests - move formatting checks before tests

---
 .circleci/config.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 52c360eb93..accb571ff2 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -38,11 +38,6 @@ jobs:
       - run:
           command: |
             mkdir screenshots
-      - run:
-          command: |
-            . venv/bin/activate
-            coverage run -m pytest
-            coverage xml
       - run:
           command: |
             . venv/bin/activate
@@ -55,6 +50,11 @@ jobs:
           command: |
             . venv/bin/activate
             python -m  flake8 --ignore=E731,E501,E722,W503,E126,F401,E203 gradio test
+      - run:
+          command: |
+            . venv/bin/activate
+            coverage run -m pytest
+            coverage xml
       - codecov/upload:
           file: 'coverage.xml'
       - store_artifacts: