mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-21 17:17:51 -06:00
feat: pin_installer writes the installer pins
Every change to install.py meant a sha256sum pasted by hand into install.sh and install.ps1, and the tests that caught a stale pin failed on two bare hashes. scripts/pin_installer.py writes both pins (--check only reports), the pin tests name it, check_freshness reads the pins through it and refresh_stale runs it for a stale pin row.
This commit is contained in:
1 parent
01ce92232d
commit
ada7738fa7
7 files changed
+133
-14
No files matched your search
@@ -162,6 +162,11 @@ class Planning(unittest.TestCase):
|
||||
self.assertEqual(jobs, [])
|
||||
self.assertEqual(len(surfaced), 3)
|
||||
|
||||
def test_the_installer_pin_is_written_by_its_script(self):
|
||||
jobs, surfaced, _ = self._plan(finding("ci", "install.py pin"))
|
||||
self.assertEqual([job.command[1:] for job in jobs], [["scripts/pin_installer.py"]])
|
||||
self.assertEqual(surfaced, [])
|
||||
|
||||
|
||||
class Running(unittest.TestCase):
|
||||
def test_a_child_starts_after_its_parent_ends(self):
|
||||
|
||||
Reference in new issue
Block a user