Skip to content

add estimate dynamic ductility #10

add estimate dynamic ductility

add estimate dynamic ductility #10

Workflow file for this run

name: xgb-rhomut
on:
push:
branches:
- main
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: checkout Repository
uses: actions/checkout@v2
- name: install python version 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: update pip
run: python -m pip install --upgrade pip
- name: install dependencies
run: |
pip install .
pip install -e .[dev]
- name: run tests
run: pytest
- name: lint code
run: flake8
publish:
name: Publish to PyPi
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: install twine setuptools wheel
run: python -m pip install --upgrade twine setuptools wheel
- name: publish to PyPI
run: |
python setup.py sdist bdist_wheel
twine upload --skip-existing dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}