logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
7.86k stars 386 forks source link

refactor: refactor integration test ci job #6095

Closed simeng-li closed 3 weeks ago

simeng-li commented 3 weeks ago

Summary

This PR refactors the integration test ci jobs.

  1. Remove the devFeatureEnabled git diff detection. As it can only check a newly added dev feature code flow. For any existing dev feature code changes, the test won't be triggered. Always trigger the dev feature disabled integration tests instead.
  2. Set the DB alteration compatibility integration tests devFeatureEnabled flag to false. Should run the test under the dev feature disabled mode.
  3. Replace the old set-output command with the latest $GITHUB_OUTPUT syntax, as the set-output command is deprecated. See github actions for more details.

Testing

ci job

Checklist

github-actions[bot] commented 3 weeks ago

COMPARE TO master

Total Size Diff :chart_with_downwards_trend: -1.3 KB

Diff by File |Name|Diff| |---|---| |.github/workflows/alteration-compatibility-integration-test.yml|0 Bytes| |.github/workflows/dev-feature-disabled-integration-test.yml|:chart_with_downwards_trend: -1.3 KB|