Skip to content

Commit

Permalink
try to find out where these hdf5 headers are
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Apr 30, 2024
1 parent 7e7f55d commit 07827cf
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 84 deletions.
1 change: 1 addition & 0 deletions .github/workflows/_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- name: Check git status (not Windows)
if: runner.os != 'Windows'
run: |
env
if [[ -z "$(git status --porcelain)" ]]; then
echo "No changes found."
else
Expand Down
162 changes: 81 additions & 81 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ concurrency:
cancel-in-progress: true

jobs:
## Checks the code logic, style and more
##
Pre-Commit:
uses: ./.github/workflows/_pre_commit.yaml
# ## Checks the code logic, style and more
# ##
# Pre-Commit:
# uses: ./.github/workflows/_pre_commit.yaml

## Discover vulnerabilities
##
CodeQL:
uses: ./.github/workflows/_codeql.yaml
# ## Discover vulnerabilities
# ##
# CodeQL:
# uses: ./.github/workflows/_codeql.yaml

## Builds the package on multiple OS for multiple
## Python versions
##
Build:
needs: [Pre-Commit]
#needs: [Pre-Commit]
uses: ./.github/workflows/_build.yaml
strategy:
fail-fast: false
Expand All @@ -46,79 +46,79 @@ jobs:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}

## Build the documentation
##
Build-Doc:
needs: [Pre-Commit]
uses: ./.github/workflows/_build_doc.yaml
with:
os: ubuntu-latest
python-version: "3.11"
# ## Build the documentation
# ##
# Build-Doc:
# needs: [Pre-Commit]
# uses: ./.github/workflows/_build_doc.yaml
# with:
# os: ubuntu-latest
# python-version: "3.11"

## Run the unit tests for Python 3.8 until 3.11
##
Test:
needs: [Pre-Commit]
uses: ./.github/workflows/_test.yaml
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
# ## Run the unit tests for Python 3.8 until 3.11
# ##
# Test:
# needs: [Pre-Commit]
# uses: ./.github/workflows/_test.yaml
# strategy:
# matrix:
# os: [ubuntu-latest, windows-latest]
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
# with:
# os: ${{ matrix.os }}
# python-version: ${{ matrix.python-version }}

## Generates and uploads the coverage statistics to codecov
##
CodeCov:
if: |
(success() && github.actor == 'btschwertfeger')
&& (github.event_name == 'push' || github.event_name == 'release')
needs: [Pre-Commit]
uses: ./.github/workflows/_codecov.yaml
with:
os: ubuntu-latest
python-version: "3.11"
secrets: inherit
# ## Generates and uploads the coverage statistics to codecov
# ##
# CodeCov:
# if: |
# (success() && github.actor == 'btschwertfeger')
# && (github.event_name == 'push' || github.event_name == 'release')
# needs: [Pre-Commit]
# uses: ./.github/workflows/_codecov.yaml
# with:
# os: ubuntu-latest
# python-version: "3.11"
# secrets: inherit

## Uploads the package to test.pypi.org on master if triggered by
## a regular commit/push.
##
UploadTestPyPI:
if: |
(
success()
&& github.actor == 'btschwertfeger'
&& github.ref == 'refs/heads/master'
)
&& (github.event_name == 'push' || github.event_name == 'release')
needs:
- Build
- Build-Doc
- Test
- CodeQL
name: Upload current version to Test PyPI
uses: ./.github/workflows/_pypi_publish.yaml
with:
REPOSITORY_URL: https://test.pypi.org/legacy/
secrets:
API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
# ## Uploads the package to test.pypi.org on master if triggered by
# ## a regular commit/push.
# ##
# UploadTestPyPI:
# if: |
# (
# success()
# && github.actor == 'btschwertfeger'
# && github.ref == 'refs/heads/master'
# )
# && (github.event_name == 'push' || github.event_name == 'release')
# needs:
# - Build
# - Build-Doc
# - Test
# - CodeQL
# name: Upload current version to Test PyPI
# uses: ./.github/workflows/_pypi_publish.yaml
# with:
# REPOSITORY_URL: https://test.pypi.org/legacy/
# secrets:
# API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}

## Upload the python-kraken-sdk to Production PyPI
##
UploadPyPI:
if: |
success() &&
github.actor == 'btschwertfeger' &&
github.event_name == 'release'
needs:
- Build
- Build-Doc
- Test
- CodeQL
name: Upload the current release to PyPI
uses: ./.github/workflows/_pypi_publish.yaml
with:
REPOSITORY_URL: https://upload.pypi.org/legacy/
secrets:
API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
# ## Upload the python-kraken-sdk to Production PyPI
# ##
# UploadPyPI:
# if: |
# success() &&
# github.actor == 'btschwertfeger' &&
# github.event_name == 'release'
# needs:
# - Build
# - Build-Doc
# - Test
# - CodeQL
# name: Upload the current release to PyPI
# uses: ./.github/workflows/_pypi_publish.yaml
# with:
# REPOSITORY_URL: https://upload.pypi.org/legacy/
# secrets:
# API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,3 @@ clean:
find tests -name "__pycache__" | xargs rm -rf
find cmethods -name "__pycache__" | xargs rm -rf
find examples -name "__pycache__" | xargs rm -rf

# for file in `ls .github/workflows`; do sed -i '' 's/actions\/checkout@v4/actions\/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0/g' .github/workflows/$file; done
# for file in `ls .github/workflows`; do sed -i '' 's/actions\/setup-python@v5/actions\/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0/g' .github/workflows/$file; done

0 comments on commit 07827cf

Please sign in to comment.