Skip to content

Trigger unit tests also for pull requests #1314

Description

@peanutfun

Is your feature request related to a problem? Please describe.
Pull requests from forks will only run the pre-commit check and readthedocs build, not the unit tests. These are only triggered for pushes to the original CLIMADA repo (or at least, we don't see them in the pull request checks)

Describe the solution you'd like
The GitHub CI pipeline should also be triggered for pull requests. This will cause double-triggering when pushing to a pull requests. This is fine, since we have practically unlimited resources. We could, however, also considering to only trigger from pull requests, and limit push triggers to the develop and main branches.

Describe alternatives you've considered
None

Additional context
We lately received several PRs through forks. Non-members cannot push new branches to this repo. I would be helpful to have the unit test pipeline also for these PRs.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions