Skip to content

Commit

Permalink
chore: update github workflows (#50)
Browse files Browse the repository at this point in the history
* chore: fix compatibility with poetry 1.8.*

* chore: update github workflows

* chore: use same python in workflows as in pyproject.toml

---------

Co-authored-by: Vladislav Yatsun <vyatsun@deltixlab.com>
  • Loading branch information
Allob and nepalevov authored Apr 23, 2024
1 parent adf6f3b commit e7d0628
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 29 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ updates:
commit-message:
# Prefix all commit messages with "chore: "
prefix: "chore"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "wednesday"
time: "09:00"
commit-message:
# Prefix all commit messages with "chore: "
prefix: "chore"
2 changes: 1 addition & 1 deletion .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
gitlab-dev-deploy:
if: ${{ github.event.registry_package.package_version.container_metadata.tag.name == 'development' }}
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@1.3.1
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@1.7.0
with:
gitlab-project-id: '1830'
gitlab-project-ref: 'master'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ on:

jobs:
pr-title-check:
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.3.1
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.7.0
secrets:
ACTIONS_BOT_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: PR Workflow

on:
pull_request:
branches: [development, release-*]

jobs:
run_tests:
uses: epam/ai-dial-ci/.github/workflows/python_docker_pr.yml@1.7.0
secrets: inherit
with:
python_version: "3.10"
17 changes: 0 additions & 17 deletions .github/workflows/pr_check_tests.yml

This file was deleted.

11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Release version
name: Release Workflow

on:
push:
branches: [ development, release-* ]

env:
IMAGE_NAME: ${{ github.repository }}
branches: [development, release-*]

jobs:
release:
uses: epam/ai-dial-ci/.github/workflows/publish_python_docker.yml@1.3.1
uses: epam/ai-dial-ci/.github/workflows/python_docker_release.yml@1.7.0
secrets: inherit
with:
python_version: "3.10"
5 changes: 2 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ uvicorn = "0.22.0"
influxdb-client = "1.37.0"
langid = "1.1.6"
torch = [
{ version = "^2.0.1", source = "pypi", markers = "sys_platform == 'darwin'" },
{ version = "^2.0.1", markers = "sys_platform == 'darwin'" },
{ version = "^2.0.1+cpu", source = "pytorch", markers = "sys_platform != 'darwin'" },
]
bertopic = "^0.15.0"
Expand Down

0 comments on commit e7d0628

Please sign in to comment.