Skip to content

Commit

Permalink
get tags during ci checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Nov 25, 2024
1 parent 55f3660 commit 794b3e2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-python@v5
with:
python-version: '3.12'
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -65,6 +68,9 @@ jobs:
python -m pip install build twine
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Build sdist
run: python -m build --sdist
- name: Check sdist
Expand All @@ -81,6 +87,9 @@ jobs:
run: python -m pip uninstall -y mne-bids

- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Build wheel
run: python -m build --wheel
- name: Check wheel
Expand All @@ -97,6 +106,9 @@ jobs:
run: python -m pip uninstall -y mne-bids

- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Test extras install
run: |
python -m pip install .[full]
Expand Down Expand Up @@ -161,6 +173,9 @@ jobs:
FORCE_COLOR: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -289,6 +304,9 @@ jobs:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 794b3e2

Please sign in to comment.