diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b290c21..8301234 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -5,7 +5,28 @@ on: push: jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: install dependencies + run: pip install .[dev] + shell: bash + + - name: run Ruff linter + run: ruff check . + shell: bash + run-tests: + needs: lint runs-on: ubuntu-latest strategy: matrix: @@ -24,10 +45,6 @@ jobs: run: pip install .[dev] shell: bash - - name: run Ruff linter - run: ruff check . - shell: bash - - name: run test run: pytest -rs shell: bash