-
Notifications
You must be signed in to change notification settings - Fork 5
Create automatic development builds of NewCaw #46
Conversation
So it seems like GitHub don't want to run my actions... |
Well, now it's technically works...
And it seems I need to look into a few tests again... |
With the job names, there's apparently a setting called With the testing, can you not just do the build and the test separately? It looks like it should just need the |
cec53c8
to
e27971a
Compare
Made some changes to it and I think I would leave it as is. After rethinking I have to say that it's easier to fix the issues of the tests than to move the test step out of flatpak-builder. The only problem now is that the appdata-checker fails to check the screenshot file, but only in the GitHub Action, locally it works fine. |
GitHub actions have working directories. It's not something as simple as that, is it? I've had things seem to work locally but fail on GitHub because I didn't track which ones were in a directory and which ones were a level higher up 🙂 |
Update with newly pulled JSON from the API, as well as some updates to the checks as we escape the final text now, so we need to reflect that in the test check.
In order for our CI to not fail the appdata check test, we now add a fake release and a first screenshot into the appdata.
Let us automatically build an Flatpak of the development build.
I think that the issue with appstream-utils has to do with the flatpak-builder-action, or the image it's using. |
This includes: - Using `secret-opts` to include the OAuth Key more securely - Have distinct artifact names for each job - Use an one-dimensional build option for platform selection
appstream-util seems to have problems with it
This test has blocked the action for some time but is not a necessity, so let's disable it until the issues are fully resolved.
Since our issue with the appdata test will not be resolved until the fix will make it's way into an release inside the Gnome SDK, I've decided to disable the test for now, as the rest now works as excepted. Merging it. |
This adds an workflow file for GitHub Actions to automatically build and test when there is a new commit or pull request on the repository.