Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ioangatop committed Oct 1, 2024
1 parent ed73bb0 commit ba25754
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
41 changes: 23 additions & 18 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: CD

on:
pull_request:
branches:
push:
branches:
- main
Expand Down Expand Up @@ -29,23 +31,26 @@ jobs:
git config user.email "[email protected]"
git config user.name "GitHub Action"
- name: Bumping version
uses: actions/checkout@v3
run: |
nox -s bump -- micro
git push origin main
- name: Build artifacts
run: |
nox -s build
- name: Test Build
run: |
python -m pip install dist/*.whl
eva --version
- name: Deploy Documentation
run: |
git fetch origin gh-pages:gh-pages
nox -s docs -- deploy --update-aliases main
git push origin gh-pages
- name: Publish package distributions to PyPI
run: nox -s publish -- --no-build
env:
PDM_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }}
PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
git add .
git commit -m "Bumping minor version"
git push origin ioannis@dev
# - name: Build artifacts
# run: |
# nox -s build
# - name: Test Build
# run: |
# python -m pip install dist/*.whl
# eva --version
# - name: Deploy Documentation
# run: |
# git fetch origin gh-pages:gh-pages
# nox -s docs -- deploy --update-aliases main
# git push origin gh-pages
# - name: Publish package distributions to PyPI
# run: nox -s publish -- --no-build
# env:
# PDM_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }}
# PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "pdm.backend"

[project]
name = "kaiko-eva"
version = "0.1.0"
version = "0.1.1"
description = "Evaluation Framework for oncology foundation models."
keywords = [
"machine-learning",
Expand Down

0 comments on commit ba25754

Please sign in to comment.