Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Woodpecker CI #10

Merged
merged 2 commits into from
Jan 30, 2025
Merged

Use Woodpecker CI #10

merged 2 commits into from
Jan 30, 2025

Conversation

gbirke
Copy link
Member

@gbirke gbirke commented Jan 29, 2025

Prepare a test environment (for Matomo 4) as per instructions in https://developer.matomo.org/4.x/guides/getting-started-part-1 and https://developer.matomo.org/4.x/guides/tests-php

Run our unit tests. They still work (after the autoloading has been fixed)

Set up DB fixtures before running tests.
The steps for that need more than just PHP - they also need the `mysql`
client, a running database server with permissions for the user to drop
and create databases and a running web server.

Added a configuration for Matomo to `.ci` directory
Activate unit test step in Woodpecker pipeline.

Adapt namespace to match actual directory name.

Delete unnecessary bootstrap.php file. We're now using the official
Matomo environment which has its own bootstrapping.

Ticket: https://phabricator.wikimedia.org/T300898
@moiikana moiikana merged commit de76f45 into master Jan 30, 2025
2 checks passed
@moiikana moiikana deleted the use-woodpecker-ci branch January 30, 2025 11:19
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.

None yet

2 participants