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

GitHub Actions migration #596

Merged
merged 44 commits into from
Oct 29, 2023
Merged

Conversation

guillemcortes
Copy link
Collaborator

@guillemcortes guillemcortes commented Oct 15, 2023

TODO list:

  • Change docs and contributing sections. Specify the python supported versions and update contribution guidelines
  • Paths normalization with os.path.normpath() so they work with windows. --》To be done in another PR.
  • Review dependencies in general (readthedocs, environment-lint, environment-ci, etc)

@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Merging #596 (0f3ad03) into master (496eb4a) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #596      +/-   ##
==========================================
+ Coverage   96.96%   97.00%   +0.04%     
==========================================
  Files          58       58              
  Lines        6990     6987       -3     
==========================================
  Hits         6778     6778              
+ Misses        212      209       -3     

The motivation of this change is that linux and macos return different
floats. MacOS returns 260.946404518887 while Linux 260.94640451888694.
So we adjust the tolerance of the test
Copy link
Collaborator

@genisplaja genisplaja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! We can try to merge and see if we need to fix something later, as we did in soundata :)

@guillemcortes guillemcortes changed the title [WIP] GitHub Actions migration GitHub Actions migration Oct 27, 2023
@magdalenafuentes magdalenafuentes merged commit dfaadca into master Oct 29, 2023
10 checks passed
guillemcortes added a commit that referenced this pull request Nov 2, 2023
* idmt_smt_audio_effects dataset script and index

* idmt_smt_audio_effects loader

* idmt_smt_audio_effects tests and resources

* idmt_smt_audio_effects dataset added to docs

* black formatter

* fixing type error in mypy test

* loader docstring

* pytest fix: folder delete in dataloader

* remove download func, adding unpacking dirs

* fixed resources path

* formatting

* formatting

* added tests

* added tests

* fixing test

* fix dependencies in setup.py

* modified dataset tests and added custom track to test_loaders.py

* changed docstrings and exception handling

* docstrings

* GitHub Actions migration (#596)

* ADD formatting workflow

* FIX variables in formatting workflow

* ADD python linting workflow and environment

* ADD CI workflow and environment

* Remove CircleCI

* UPDATE new_loader.md PR template

* ADD readthedocs

* UPDATE readme badges

* FIX numpy asarray bug

* CHANGE arg name due to librosa update

* REMOVE tox.ini

* UPDATE dependencies for test

* ADD dependencies

* dependencies..

* dependencies..

* dependencies..

* dependencies..

* fix dependencies versions

* ADD all smart_open protocols install for CI

* MOVE smart_open[all] to pip install

* INSTALL types to pass mypy

* intall types-pyaml for python linting test

* Change to work with music21 v9.*

* TEST Environment CI with no reestrictions. python3.10 test passing in local

* FIX ikala test to pass linux tests

* FIX normpath for windows tests

* BLACK

* Change assert tolerance for floats in test_ikala

The motivation of this change is that linux and macos return different
floats. MacOS returns 260.946404518887 while Linux 260.94640451888694.
So we adjust the tolerance of the test

* Remove windows CI test

* Assert modification forgot in the last commit

* Specifying packages versinos on environment yml

* Fix h5py version for python3.7

* CI test dependencies fixed at the versions of last passing test

* CI test dependencies without lowerbound

* CI test dependencies that should work

* sort dependencies by alphabetical order

* Update setup dependencies

* Update test-lint dependencies

* Update contributing docs to match new testing pipeline

* Remove comment from test_ikala

This comment was showing the assertion test done before the PR#596

* Set dependencies packages versions for docs

* Remove comment

* jams get_duration handling

* Trigger tests after CircleCI removing

---------

Co-authored-by: Magdalena Fuentes <mgfuenteslujambio@gmail.com>

* Update badges url (#598)

* Update badges url

* Trigger doc build again

* metadata exception, whitespaces in table.rst

* fixing table.rst

* fixing mirdata.rst and adding references to quick_reference.rst

* increasing test coverage

* adding corrupted xml file for testing

* modified metadata logic for xml files

* removed general exception

* removing FileNotFoundError, changing dirs for _ and moving Cached Properties to Attributes

* revert to FileNotFoundError and test

---------

Co-authored-by: Magdalena Fuentes <mgfuenteslujambio@gmail.com>
Co-authored-by: Genís Plaja-Roglans <genis.plaja@upf.edu>
Co-authored-by: Guillem Cortès <cortes.sebastia@gmail.com>
@guillemcortes guillemcortes deleted the guillem/ghactions_migration branch November 1, 2024 15: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.

3 participants