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

Fix/lighter workflows #203

Merged
merged 2 commits into from
Oct 5, 2020
Merged

Fix/lighter workflows #203

merged 2 commits into from
Oct 5, 2020

Conversation

LeoTafti
Copy link
Contributor

@LeoTafti LeoTafti commented Oct 5, 2020

Fixes workflows causing tests to run multiple times.

Summary

The previous version of the "darts develop workflow" triggered twice when pushing to a branch on the repo which also had an opened PR, causing a lot of duplicate tests. I propose to remove the trigger on pushes to branches different from {master, develop}. This way, the workflow is only triggered for opened PRs (the idea being that before opening a PR, tests can still easily be run locally, so we don't loose much) and this should remove the duplicate tests situation.

I also made the "darts develop workflow" lighter, only checking for os ubuntu-latest, python-version: [3.6, 3.7, 3.8] and flavour ['core', 'all'], and conversely made the "merge PR workflow" more comprehensive (with os: [macos-latests, ubuntu-latests], python-version [3.6, 3.7, 3.8] and all possible flavors.

@LeoTafti LeoTafti requested review from hrzn and TheMP as code owners October 5, 2020 07:21
@LeoTafti LeoTafti changed the base branch from master to develop October 5, 2020 07:21
@LeoTafti LeoTafti requested a review from pennfranc as a code owner October 5, 2020 07:21
@LeoTafti LeoTafti merged commit d0410ee into develop Oct 5, 2020
@LeoTafti LeoTafti deleted the fix/lighter-workflows branch October 5, 2020 11:35
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.

2 participants