Skip to content

Commit

Permalink
Run checkout at start of CI
Browse files Browse the repository at this point in the history
  • Loading branch information
janbridley committed Oct 15, 2024
1 parent ec13e53 commit 2251bce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- os: 'macos-latest'
python: '3.13'
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.2.1
- name: Set up and build
uses: ./.github/workflows/setup-and-build.yaml
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/setup-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
setup:
runs-on: ${{ inputs.os }}
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.2.1
- name: Set up Python ${{ inputs.python }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-readme.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test README code blocks
name: Test README.md code blocks

on:
# trigger on pull requests
Expand All @@ -17,14 +17,15 @@ concurrency:

jobs:
test:
name: Run README examples.
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
python: ['3.12'] # Aim for a commonly used distro
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.2.1
- name: Set up and build
uses: ./.github/workflows/setup-and-build.yaml
with:
Expand Down

0 comments on commit 2251bce

Please sign in to comment.