Add Block Storage Quotas #17
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: Unikorn Push | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
jobs: | |
Static: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Prerequisites | |
run: pip3 install pylint build | |
- name: Build | |
run: python3 -m build | |
- name: Install | |
# TODO: make this dynamic somehow by reading out from the toml. | |
run: pip3 install --upgrade dist/python_unikorn_openstack_policy-0.1.0-py3-none-any.whl | |
- name: Pylint | |
run: pylint unikorn_openstack_policy | |
- name: Unit Test | |
run: python -m unittest discover | |
- name: Test Generation | |
run: | | |
oslopolicy-policy-generator --namespace unikorn_openstack_policy_compute | |
oslopolicy-policy-generator --namespace unikorn_openstack_policy_network |