Skip to content

Commit

Permalink
Merge pull request #57 from optuna/delete_actions_dispatch_options
Browse files Browse the repository at this point in the history
  • Loading branch information
HideakiImamura authored Dec 28, 2023
2 parents 58638a1 + 8ed2874 commit 5dec8e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/mac-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ on:
schedule:
- cron: '0 23 * * SUN-THU'
workflow_dispatch:
inputs:
repository_name:
description: 'Repository for optuna package (username/optuna)'
required: false
type: string
branch_name:
description: 'Branch name'
required: false
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
Expand Down Expand Up @@ -64,10 +55,8 @@ jobs:
pip install --progress-bar off .[test]
pip install --progress-bar off .[all]
# Install optuna from specified repository, otherwise from optuna/optuna.
$( test ${{ inputs.repository_name }} && test ${{ inputs.branch_name }} ) \
&& pip install git+https://github.com/${{ inputs.repository_name }}@${{ inputs.branch_name }} \
|| pip install git+https://github.com/optuna/optuna@master
# Install optuna from optuna master
pip install git+https://github.com/optuna/optuna@master
# Install distributed to run importance_tests/test_init tests.
pip install distributed
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ on:
schedule:
- cron: '0 23 * * SUN-THU'
workflow_dispatch:
inputs:
repository_name:
description: 'Repository for optuna package (username/optuna)'
required: false
type: string
branch_name:
description: 'Branch name'
required: false
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
Expand Down Expand Up @@ -67,10 +58,8 @@ jobs:
# See https://github.com/pydantic/pydantic/issues/5821.
pip install "typing_extensions<4.6.0"
# Install optuna from specified repository, otherwise from optuna/optuna.
$( test ${{ inputs.repository_name }} && test ${{ inputs.branch_name }} ) \
&& pip install git+https://github.com/${{ inputs.repository_name }}@${{ inputs.branch_name }} \
|| pip install git+https://github.com/optuna/optuna@master
# Install optuna from optuna master
pip install git+https://github.com/optuna/optuna@master
# Install distributed to run importance_tests/test_init tests.
pip install distributed
Expand Down

0 comments on commit 5dec8e9

Please sign in to comment.