update infinity #1504
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: libs/infinity_emb CI | |
on: | |
release: | |
types: [published] | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
schedule: # nightly | |
- cron: '0 0 * * *' | |
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI | |
# If another push to the same PR or branch happens while this workflow is still running, | |
# cancel the earlier run in favor of the next run. | |
# | |
# There's no point in testing an outdated version of the code. GitHub only allows | |
# a limited number of job runners to be active at the same time, so it's better to cancel | |
# pointless jobs early so that more useful jobs can run sooner. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
POETRY_VERSION: "1.7.1" | |
WORKDIR: "libs/infinity_emb" | |
jobs: | |
lint-infinity_emb: | |
uses: | |
./.github/workflows/linting.yaml | |
with: | |
working-directory: libs/infinity_emb | |
secrets: inherit | |
lint-embed_package: | |
uses: | |
./.github/workflows/linting.yaml | |
with: | |
working-directory: libs/embed_package | |
extra_poetry: "--with test,lint,codespell" | |
secrets: inherit | |
test-infinity_emb: | |
uses: | |
./.github/workflows/test.yaml | |
with: | |
working-directory: libs/infinity_emb | |
upload_coverage: true | |
secrets: inherit | |
test-embed_package: | |
uses: | |
./.github/workflows/test.yaml | |
with: | |
working-directory: libs/embed_package | |
upload_coverage: false | |
extra_poetry: "--with test" | |
secrets: inherit |