Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
sstucker authored Dec 26, 2024
2 parents 85da3fc + c0266a2 commit 4a1b35e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
name: Upload Python Package
name: Publish to PyPI 📦

on:
push:
tags:
- 'v*'

workflow_dispatch:

permissions:
contents: read
id-token: write

jobs:
deploy:

runs-on: ubuntu-latest

runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: 3.7.17
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Build
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish release distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
max-parallel: 5
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
defaults:
run:
shell: bash -el {0}
Expand Down
2 changes: 1 addition & 1 deletion snirf/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__VERSION__ = (0, 7, 4)
__VERSION__ = (0, 8, 0)
__version__ = '.'.join(map(str, __VERSION__))
Binary file added tests/data/Simple_Probe_measList.snirf
Binary file not shown.
Binary file added tests/data/Simple_Probe_measLists.snirf
Binary file not shown.

0 comments on commit 4a1b35e

Please sign in to comment.