Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaag authored Aug 21, 2023
1 parent 3a2418f commit 0696c38
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,21 @@ jobs:
uses: pavelzw/pytest-action@v2

pre-commit-checks:
name: pre-commit checks
timeout-minutes: 10
name: "Linux - pre-commit checks - Python 3.10"
timeout-minutes: 30
runs-on: ubuntu-latest
env:
PRE_COMMIT_USE_MICROMAMBA: 1
steps:
- name: Checkout branch
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
uses: actions/[email protected]
- name: Set up micromamba
uses: mamba-org/setup-micromamba@875557da4ee020f18df03b8910a42203fbf02da1
- name: Add micromamba to GITHUB_PATH
run: echo "${HOME}/micromamba-bin" >> "$GITHUB_PATH"
- name: Install Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Run pre-commit checks
uses: pre-commit/[email protected]
env:
PRE_COMMIT_USE_MICROMAMBA: 1

0 comments on commit 0696c38

Please sign in to comment.