From 814e0261e11c737325ac94e2abfd0ac45267ebfa Mon Sep 17 00:00:00 2001 From: Nour Yosri Date: Thu, 5 Dec 2024 16:50:06 -0800 Subject: [PATCH] indenetation --- .github/workflows/ci.yml | 58 +++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e581aaa..18da02c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,52 +21,54 @@ jobs: buid-and-test: runs-on: ubuntu-latest - strategy: - fail-fast: false + strategy: + fail-fast: false - steps: + steps: - uses: actions/checkout@v4 + - name: Set up Python 3.10 uses: actions/setup-python@v3 with: python-version: '3.10' - - name: Install Dependencies + + - name: Install Dependencies run: | pip install -r dev_tools/dev.env.txt - - name: Typecheck - run: | - . ./ci/mypy.sh + - name: Typecheck + run: | + . ./ci/mypy.sh - - name: shellcheck - run: | - . ./ci/shellcheck.sh + - name: shellcheck + run: | + . ./ci/shellcheck.sh - - name: format - run: | - black --exclude tunits/proto/.* --check . + - name: format + run: | + black --exclude tunits/proto/.* --check . - - name: lint - run: - . ./ci/pylint_all.sh + - name: lint + run: + . ./ci/pylint_all.sh - - name: Check modified protos - run: | - ./ci/build_changed_protos.sh origin/main + - name: Check modified protos + run: | + ./ci/build_changed_protos.sh origin/main # # Install # - - name: install - run: | - pip install . --user + - name: install + run: | + pip install . --user - - name: pytest - run: | - . ./ci/pytest_unit.sh + - name: pytest + run: | + . ./ci/pytest_unit.sh - - name: perf - run: | - . ./ci/pytest_perf.sh \ No newline at end of file + - name: perf + run: | + . ./ci/pytest_perf.sh \ No newline at end of file