bessagroup / f3dasm

Framework for Data-Driven Design & Analysis of Structures & Materials (F3DASM)
https://f3dasm.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
111 stars 29 forks source link

Reduce the computational expenses of the automated GitHub Workflows #207

Open mpvanderschelling opened 10 months ago

mpvanderschelling commented 10 months ago

The problem

The automated GitHub workflows need some modification to address the following

As the bessagroup account is shared, we should be mindful about this At the moment, if a pull request is active on either one of the pr/** branches or the main branch, everytime a commit is made, the automated tests are run. These is still a skimmed down version of the tests (only run on Linux + 1 Python version), but it is redundant to run it for every commit.

Proposal

Automated tests should be run only in the following scenarios:

How the 'about to merge' trigger might be implemented is still under investigation.

Type of tests

Without going in to much detail, we consider the following test suites: (1) full test suite (all tests, all major OS, Python 3.7+) (2) smoke tests (only computationally inexpensive tests, only Linux, Python 3.8) (3) building sphinx-doc and committing to gh-pages branches for GitHub pages

mpvanderschelling commented 10 months ago

@BernardoFerreira ; can you take a look at the problem description and add anything that you think might be necessary to address this issue ?