From b238478999ce548a35519f2de1b0d11851faba43 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Sat, 26 Oct 2024 10:37:19 +0200 Subject: [PATCH] ga: reformat --- .github/workflows/python-lint-and-test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-lint-and-test.yml b/.github/workflows/python-lint-and-test.yml index 42feb3e..9ae6efe 100644 --- a/.github/workflows/python-lint-and-test.yml +++ b/.github/workflows/python-lint-and-test.yml @@ -15,19 +15,26 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + - name: Set up Python 3.10 uses: actions/setup-python@v3 with: python-version: "3.10" + - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Lint with flake8 run: | flake8 . --show-source --statistics + - name: Test with pytest run: | pytest -v # --tb=no