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

Towards Continuous Integration #39

Conversation

Bengt
Copy link
Contributor

@Bengt Bengt commented May 12, 2021

Note that this is a rebase of #37.

This branch adds continuous integration to this project.

  • To that end, I created a pull mirror of this repository, which gets triggered by GitHub, whenever there is a push to my fork of this repository.
    To merge this, someone with the appropriate access rights would need to create a pull mirror for this repository.

  • The file .gitlab-ci.yml defines how to run jobs of pipelines on each push to this repository.

  • As defined by the tox.ini, test jobs collect coverage metrics.
    Currently, the coverage is at only 70 %, because I needed to deactivate some tests to make the test suite work in the cloud. Someone with more knowledge than me about the failing tests would need to make them runnable on AWS.

  • tox.ini now also includes a dedicated flake8 environment.
    This keeps the test environment clean from flake8 requirements.

  • All environment requirements are pinned in respective files under requirements.d.
    This makes all runs deterministic on the requirements level, which avoids the need for scheduled (e.g. nightly) runs.

@Bengt Bengt changed the title continuous integration Add Continuous Integration May 12, 2021
@Bengt
Copy link
Contributor Author

Bengt commented May 19, 2021

There does not seem to be a working way of tool-assisted installation of PortAudio under Windows, so I am giving up on that for now.

@Bengt Bengt changed the title Add Continuous Integration Towards Continuous Integration May 19, 2021
@Bengt Bengt closed this May 19, 2021
@Bengt Bengt deleted the main-bengt-continuous-integration branch June 18, 2021 20:46
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