Bump version: 1.23.0-rc25 → 1.23.0-rc26 #686
Workflow file for this run
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: servicelayer | |
on: [push] | |
jobs: | |
python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Show ref | |
run: | | |
echo "$GITHUB_REF" | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
BOTO_CONFIG: /dev/null | |
AWS_ACCESS_KEY_ID: banana | |
AWS_SECRET_ACCESS_KEY: bananacake | |
run: | | |
sudo rm -f /etc/boto.cfg | |
sudo apt-get -qq update | |
sudo apt-get install -y libicu-dev | |
make dev | |
pip install -e ".[dev]" | |
- name: Run the code format check | |
run: make format-check | |
- name: Run the linter | |
run: make lint | |
- name: Run the tests | |
run: | | |
make test | |
- name: Build a distribution | |
run: | | |
python setup.py sdist bdist_wheel | |
- name: Publish a Python distribution to PyPI | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
password: ${{ secrets.pypi_password }} |