Skip to content

Commit

Permalink
Restored workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole-Christian Galbo Engstrøm committed Jan 23, 2025
1 parent 7a4209c commit e6f9f33
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/package_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Python Package
on:
# workflow_run:
# workflows: ["Tests"]
# types:
# - completed
push:
branches: [ "main" ]
workflow_run:
workflows: ["Tests"]
types:
- completed
jobs:
build_package:
runs-on: ubuntu-latest
Expand All @@ -15,7 +13,7 @@ jobs:
publish_package:
needs: build_package
runs-on: ubuntu-latest
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
environment:
name: pypi
url: https://pypi.org/p/ikpls
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
paths:
- 'ikpls/**'
- 'tests/**'
# - '.github/**'
# - 'pyproject.toml'
- '.github/**'
- 'pyproject.toml'

jobs:
test_package:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ikpls"
version = "1.2.5.post4"
version = "1.2.5.post5"
description = "Improved Kernel PLS and Fast Cross-Validation."
authors = ["sm00thix <[email protected]>"]
maintainers = ["sm00thix <[email protected]>"]
Expand Down

0 comments on commit e6f9f33

Please sign in to comment.