feat: release v2.0.0 with tab completion, package filtering, db health checks, flatpak and logrotate
Build and Publish Release / Build Packages and Publish (push) Successful in 27s
Build and Publish Release / Build Packages and Publish (push) Successful in 27s
This commit is contained in:
1 parent
8d4157b42d
commit
8bec4ed932
27 files changed
+1053
-69
No files matched your search
@@ -18,7 +18,7 @@ class TestPackaging(unittest.TestCase):
|
||||
self.temp_dir = tempfile.TemporaryDirectory()
|
||||
self.out_dir = Path(self.temp_dir.name)
|
||||
self.root_dir = Path(__file__).resolve().parent.parent
|
||||
self.builder = PackageBuilder(source_root=self.root_dir, output_dir=self.out_dir, version="1.3.0")
|
||||
self.builder = PackageBuilder(source_root=self.root_dir, output_dir=self.out_dir, version="2.0.0")
|
||||
|
||||
def tearDown(self):
|
||||
self.temp_dir.cleanup()
|
||||
@@ -35,6 +35,7 @@ class TestPackaging(unittest.TestCase):
|
||||
self.assertTrue(any("linux_updater/__init__.py" in n for n in names))
|
||||
self.assertTrue(any("linux-updater.json.example" in n for n in names))
|
||||
self.assertTrue(any("linux-updater.8" in n for n in names))
|
||||
self.assertTrue(any("logrotate" in n for n in names))
|
||||
|
||||
def test_build_deb_creates_package_or_tree(self):
|
||||
deb_path = self.builder.build_deb()
|
||||
@@ -55,6 +56,7 @@ class TestPackaging(unittest.TestCase):
|
||||
self.assertIn("Name: linux-updater", content)
|
||||
self.assertIn("Requires: python3 >= 3.6", content)
|
||||
self.assertIn("BuildArch: noarch", content)
|
||||
self.assertIn("/etc/logrotate.d/linux-updater", content)
|
||||
|
||||
def test_build_all(self):
|
||||
results = self.builder.build_all()
|
||||
|
||||
Reference in new issue
Block a user