Skip to content

v5.0.3: Enhancements include integration of SHAP values with DataFram… #61

v5.0.3: Enhancements include integration of SHAP values with DataFram…

v5.0.3: Enhancements include integration of SHAP values with DataFram… #61

Workflow file for this run

name: Zoish
on:
push:
branches:
- main
tags:
- 'v*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install Nox
run: pip install nox
- name: Run Nox default sessions
run: nox
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install setuptools
pip install twine
pip install wheel # Add this line to install the wheel package
- name: Build and publish
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
# Sending email notification after successful build and publish
- name: Send Email Notification
uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.office365.com
server_port: 587
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: Automated Email From GitHub Action
to: ${{secrets.EMAIL_RECIPIENTS}}
from: ${{secrets.MAIL_USERNAME}}
body: A new version of Zosih has been successfully built and published to PyPI.