Closed raimund-schluessler closed 2 years ago
For whatever reason actions don't run at all at the moment. π
Edit: Github status page states delays in actions atm. Perfect time to debug some actions π
Merging #31 (7a65ca2) into main (f1b61bc) will decrease coverage by
0.40%
. The diff coverage is0.00%
.:exclamation: Current head 7a65ca2 differs from pull request most recent head 9192371. Consider uploading reports for the commit 9192371 to get more accurate results
@@ Coverage Diff @@
## main #31 +/- ##
==========================================
- Coverage 77.69% 77.28% -0.41%
==========================================
Files 35 35
Lines 2457 2470 +13
==========================================
Hits 1909 1909
- Misses 548 561 +13
Impacted Files | Coverage Ξ | |
---|---|---|
impose/__main__.py | 0.00% <0.00%> (ΓΈ) |
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more
I think the build pipeline should be fine like this. There have been a few updates (pyinstaller, scipy).
The windows installer works fine. The Mac DMG says "βImpose.appβ is damaged and canβt be opened. You should move it to the Bin."
The windows installer works fine.
I have to correct myself. Installing Impose uninstalls BMicro and vice-versa.
The windows installer works fine.
I have to correct myself. Installing Impose uninstalls BMicro and vice-versa.
Windows installer works fine now. Lives happily together with BMicro. π
But getting the tag in the _version.py script does not work. Not sure if only related to this PR or not.
The installer script generates a file named Impose_2022.05.05.post08_win_64bit_setup.exe
whereas it should read Impose_0.2.2.post08_win_64bit_setup.exe
(not the current date, but the tag/version 0.2.2).
Is there an option for GHA to also pull/fetch the tags? The tags are important.
Is there an option for GHA to also pull/fetch the tags? The tags are important.
I think that's not the issue. It also fails locally now for me.
Debugging _version.py
shows that the call to git does not return something meaningful, but gives
b"fatal: unsafe repository ('D:/Data/Biotec/Software/00_Programs/BMicro' is owned by someone else)\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory D:/Data/Biotec/Software/00_Programs/BMicro\n"
The Mac DMG says "βImpose.appβ is damaged and canβt be opened. You should move it to the Bin."
In principle the DMG seems to be fine. But when you download it via browser, Mac somehow flags it as unsafe and acknowledges running the DMG with this obscure, if not downright wrong, error message.
Downloading it on a windows machine and then copying the DMG file via a USB stick works flawlessly. Obviously, USB sticks have never been used to transfer malware and can be considered safe without any problem π
That is weird!
This enhances the Github check action to build installer packages for MacOSX and Win. The packages are uploaded as artifacts to Github and can be downloaded from the Github Actions page.
Closes #29.
What is still missing is an Action to create packages and a release when a new tag is pushed. But I would propose to add this in a follow-up PR, since this one is already huge.