Repository navigation
CI: fetch the SeerrNG files Lumen builds against - #32
Merged
Merged
Conversation
Lumen now imports a few files from outside lumen/ (@app/@server aliases, shared translations, issue constants) and its image copies them in, so the type check, build and image tests failed in this mirror. The job now fetches src/, server/, config/ and the root package.json/tsconfig.json from the SeerrNG commit in UPSTREAM, and runs the browser tests the way SeerrNG's Lumen workflow does.
The full browser suite in four viewports needs more than the 75-minute job limit on one runner (the first run was cancelled there after every other step passed). The quick checks are now their own job, the browser tests run in four parallel shards, and both fetch the SeerrNG files through one script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lumen now imports a few SeerrNG files from outside lumen/ (the @app and @server aliases, shared translations, issue constants), and its image build copies them in. This mirror only has lumen/, so the type check, build and image tests failed (for example on #31).
The test job now fetches src/, server/, config/, package.json and tsconfig.json from the SeerrNG commit named in UPSTREAM before running. The browser tests now run the way SeerrNG's own Lumen workflow runs them (Chromium,
pm run test:browser -- --workers=2). Node comes from SeerrNG's package.json.
Checked locally against UPSTREAM 7982afcc in a clean folder with no root node_modules: type check and build pass,
pm test\ 58/58 (including the image and proxy tests). This PR's own run covers the browser tests.