Skip to content

Commit

Permalink
turn on ci back
Browse files Browse the repository at this point in the history
  • Loading branch information
lalmei committed Aug 26, 2021
1 parent 4fc2739 commit 16a2ad9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: whylogs CI

on:
# push:
# branches: [ mainline, release]
# pull_request:
# branches: [ mainline, release]
push:
branches: [ mainline, release]
pull_request:
branches: [ mainline, release]

jobs:
test:
Expand Down
33 changes: 17 additions & 16 deletions .github/workflows/push_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Upload Python Package


on:
push:
release:
types: [ released, prereleased]

jobs:
deploy:
Expand Down Expand Up @@ -34,22 +35,22 @@ jobs:
- name: Install dependencies
run: make install

# - name: Autobump version
# run: |
# # from refs/tags/v1.2.3 get 1.2.3
# VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
# echo $VERSION
# git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
# git config --local user.name "github-actions[bot]"
# poetry run bump2version patch --verbose --commit --no-tag --new-version $VERSION
- name: Autobump version
run: |
# from refs/tags/v1.2.3 get 1.2.3
VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
echo $VERSION
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
poetry run bump2version patch --verbose --commit --no-tag --new-version $VERSION
# #push version bump to tagged branch so new version is included in pypi
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: ${{ github.ref }}
# force: true
#push version bump to tagged branch so new version is included in pypi
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
force: true

- name: Build and publish
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-notebook.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: notebook test

on:
# push:
# branches: [ mainline, release]
# pull_request:
# branches: [ mainline, release]
push:
branches: [ mainline, release]
pull_request:
branches: [ mainline, release]

jobs:
test:
Expand Down

0 comments on commit 16a2ad9

Please sign in to comment.