
Zaza tests can be found here: https://github.com/openstack-charmers/zaza-openstack-tests/pull/59 https://github.com/openstack-charmers/zaza-openstack-tests/pull/185 Support Python 3.8 by pulling a version of charm-helpers containing https://github.com/juju/charm-helpers/pull/423 Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/185 Closes-Bug: #1828424 Change-Id: I844836b0c2f7556da0b73a7917b8ec18052ba841
30 lines
679 B
Makefile
30 lines
679 B
Makefile
#!/usr/bin/make
|
|
PYTHON := /usr/bin/env python3
|
|
|
|
clean:
|
|
rm -rf .coverage .tox .testrepository trusty .unit-state.db
|
|
find . -iname '*.pyc' -delete
|
|
|
|
lint:
|
|
@tox -e pep8
|
|
|
|
test:
|
|
@# Bundletester expects unit tests here.
|
|
@tox -e py37
|
|
|
|
functional_test:
|
|
@echo Starting Zaza functional tests...
|
|
@tox -e func
|
|
|
|
bin/charm_helpers_sync.py:
|
|
@mkdir -p bin
|
|
@curl -o bin/charm_helpers_sync.py https://raw.githubusercontent.com/juju/charm-helpers/master/tools/charm_helpers_sync/charm_helpers_sync.py
|
|
|
|
|
|
sync: bin/charm_helpers_sync.py
|
|
@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
|
|
|
|
publish: lint test
|
|
bzr push lp:charms/ceilometer
|
|
bzr push lp:charms/trusty/ceilometer
|