Skip to content

Improve test setup - #12

Merged
pavog merged 4 commits into
masterfrom
improve-test-setup
Oct 15, 2026
Merged

pavog merged 4 commits into
masterfrom
improve-test-setup

Conversation

@pavog

@pavog pavog commented Oct 15, 2026

Copy link
Copy Markdown
Member

The integration tests send requests to the live CurseForge API and need the CURSEFORGE_API_KEY secret, which is not available for pull requests from forks. The workflow is now split:

  • unit-tests: runs on every pull request and push, on PHP 8.3, 8.4 and 8.5
  • integration-tests: runs on pushes to master and manual runs only, on PHP 8.5

Also:

  • fail-fast: false
  • a separate composer cache per PHP version
  • explicit extensions for setup-php.

PHPUnit

  • Run tests in random order
  • Display details about tests that trigger deprecations, errors, notices or warnings
  • Updater path to xsd to relative path (in vendor folder)

@pavog
pavog merged commit da45184 into master Oct 15, 2026
4 checks passed
@pavog
pavog deleted the improve-test-setup branch October 15, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant