Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update CI #475

Merged
merged 6 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types: [closed]

jobs:
versionjob:
version_lock_job:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
Expand All @@ -24,8 +24,9 @@ jobs:
- run: echo $MY_VERSION
- uses: snok/install-poetry@v1
- run: poetry version "v$MY_VERSION "
- run: poetry lock
- uses: EndBug/add-and-commit@v8
with:
add: 'pyproject.toml'
add: '["pyproject.toml", "poetry.lock"]'
default_author: github_actor
message: 'Writing version with github action [skip ci]'
message: 'Writing version and lock with github action [skip ci]'
2 changes: 1 addition & 1 deletion .github/workflows/ready_for_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: echo $PR_NUM > pr_num.txt

- name: Upload the PR number
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: pr_num
path: ./pr_num.txt
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ opencv-python = {version="*", optional=true}
ale-py = {version="*", optional=true}
stable-baselines3 = {version="*", optional=true}
tensorboard = {version="*", optional=true}
torch = [{version=">=2.0.0", markers = "sys_platform != 'darwin'", optional=true},{version=">=2.0.0, !=2.0.1, !=2.1.0, !=2.3.0, !=2.3.1", markers = "sys_platform == 'darwin'", optional=true}]
torch = [
{ version = ">=2.0.0,<2.3", platform = "darwin", optional=true },
{ version = ">=2.0.0,<2.3", platform = "linux", optional=true },
{ version = ">=2.0.0,<2.3", platform = "win32", optional=true },
]
pandas = "*"
scikit-fda = {version="^0.9", optional=true}
nox = {version="*", optional=true}
Expand Down
Loading