generated from mscheltienne/template-python
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from mscheltienne/dev
Add RawANT python object for MNE
- Loading branch information
Showing
39 changed files
with
955 additions
and
1,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,9 +28,11 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pypa/[email protected] | ||
env: | ||
CIBW_TEST_SKIP: "{*macosx*,*win*}" | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: cibw-wheels-${{ matrix.os }}-native | ||
name: cibw-wheels-${{ matrix.os }}-native-${{ strategy.job-index }} | ||
path: ./wheelhouse/*.whl | ||
|
||
cibuildwheel_emulated_cross: # separate out because it's slower and not tested separately | ||
|
@@ -42,23 +44,23 @@ jobs: | |
- os: ubuntu-latest | ||
arch: aarch64 | ||
- os: windows-latest | ||
arch: ARM64 | ||
arch: ARM64 # upper-case needed | ||
name: build wheels on ${{ matrix.os }} ${{ matrix.arch }} | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup emulation on Linux | ||
if: runner.os == 'Linux' | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: all | ||
if: runner.os == 'Linux' | ||
- uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS: ${{ matrix.arch }} | ||
# https://cibuildwheel.pypa.io/en/stable/faq/#windows-arm64 | ||
CIBW_TEST_SKIP: "*-win_arm64" | ||
CIBW_BEFORE_BUILD_WINDOWS: bash ./.github/workflows/cibw_before_build_windows_cross.sh | ||
CIBW_BEFORE_BUILD_WINDOWS: bash ./tools/cibw_before_build_windows_cross.sh | ||
CIBW_BUILD_VERBOSITY: 3 | ||
CIBW_TEST_SKIP: "*-win_arm64" | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: cibw-wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ strategy.job-index }} | ||
|
@@ -72,7 +74,7 @@ jobs: | |
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-13, macos-latest] | ||
python: ["3.9", "3.12"] | ||
name: test wheels on ${{ matrix.os }} ${{ matrix.python }} | ||
name: test wheels on ${{ matrix.os }} - py${{ matrix.python }} | ||
runs-on: ${{ matrix.os }} | ||
defaults: | ||
run: | ||
|
@@ -89,8 +91,11 @@ jobs: | |
path: dist | ||
- run: ls -alt . && ls -alt dist/ | ||
- run: pip install --only-binary antio antio[test] --find-links dist | ||
- run: antio sys-info --developer | ||
- run: pytest tests/ --cov=antio --cov-report=xml | ||
- uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
sdist: | ||
timeout-minutes: 10 | ||
|
@@ -111,7 +116,7 @@ jobs: | |
check: | ||
needs: [cibuildwheel, cibuildwheel_emulated_cross, sdist] | ||
timeout-minutes: 10 | ||
name: check dist/* | ||
name: run twine check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from . import libeep, utils | ||
from ._version import __version__ | ||
from .utils.config import sys_info | ||
from .utils.logs import add_file_handler, set_log_level |
Oops, something went wrong.