Version 2.5.0: server groups, loadbalancers, labels for servers, storages, loadbalancers & server groups and some smaller fixes #202
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: test | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- uses: pre-commit/[email protected] | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
tox_env: | |
- py37 | |
- py38 | |
- py39 | |
- pypy3 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fedora Tox with ${{ matrix.tox_env }} | |
uses: fedora-python/[email protected] | |
with: | |
tox_env: ${{ matrix.tox_env }} | |
- uses: actions/setup-python@v4 | |
with: | |
cache: pip | |
cache-dependency-path: | | |
requirements-dev.txt | |
setup.py | |
deploy: | |
name: Build deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
- uses: casperdcl/[email protected] | |
with: | |
password: ${{ secrets.PYPI_TOKEN }} | |
build: true | |
# only upload if a tag is pushed (otherwise just build & check) | |
upload: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }} |