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

Migrate to GitHub actions #50

Merged
merged 20 commits into from
Dec 21, 2022
Merged

Commits on Dec 19, 2022

  1. Initial GitHub Actions workflow for building and testing

    Signed-off-by: Ehud-Karavani <ehud.karavani@ibm.com>
    ehudkr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    ec1cee0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3002220 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4667ed0 View commit details
    Browse the repository at this point in the history
  4. Run py-version matrix independent of versions fail

    Don't cancel other the rest of the python version builds if only one (or more, just make them independent) fail.
    
    It is not uncommon that only certain python versions fail due to dependency hell.
    ehudkr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    c15920d View commit details
    Browse the repository at this point in the history
  5. Install contrib dependencies

    Since `hemm` failed due to no Pytorch
    ehudkr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    502ada9 View commit details
    Browse the repository at this point in the history
  6. Add print final dependencies

    Also rename job
    ehudkr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    9795209 View commit details
    Browse the repository at this point in the history
  7. Run in fail fast

    Test whether only one version succeeding is a matter of some resource parallel allocation mutex.
    ehudkr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    23600f6 View commit details
    Browse the repository at this point in the history
  8. Try a better way to enforce sequential run

    Revert the `fail-fast`, but now try to ensure that there are no parallel jobs by using `max-parallel`
    ehudkr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    439f22e View commit details
    Browse the repository at this point in the history
  9. Limit scikit-learn version to <1.2.0

    Currently causes two main issues:
     - No `normalize` in `LinearRegression`.
       Easy, just need to update tests to use a Pipeline
     - Force singular feature type in pandas columns (harder)
        Harder, will require a safe-join mechanism when adding treatment as variable.
    ehudkr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    5d932d5 View commit details
    Browse the repository at this point in the history
  10. Add Github Actions-based CI status badge

    Workflow's name appear in the badge, so change that to a short `Build`
    instead of a long "Build and install causallib".
    Consequentially change the yml file from `test` to `build` to preserve
    consistency
    
    Signed-off-by: Ehud-Karavani <ehud.karavani@ibm.com>
    ehudkr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    a657417 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ec1c008 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    28c1e38 View commit details
    Browse the repository at this point in the history
  13. Limit numpy version to <1.24.0

    Currently causes a problem with matplotlib when plotting `fill_between` in the calibration plot tests
    ehudkr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    c21c261 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Configuration menu
    Copy the full SHA
    37e79f5 View commit details
    Browse the repository at this point in the history
  2. Update build.yml

    SagiPolaczek committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    a76e100 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #49 from SagiPolaczek/migrate-to-github-actions

    Github Actions queue fix
    ehudkr committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    980c486 View commit details
    Browse the repository at this point in the history
  4. Remove python 3.6 from testing

    Github Actions do not support python 3.6 on `ubuntu-latest`*, 
    and since python 3.6 is well after its end of life, I see no use in hacking a way for it work.
    
    Farewell python 3.6, you were great
    
    
    *```
    Error: The version '3.6' with architecture 'x64' was not found for Ubuntu 22.04.
    The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
    ```
    ehudkr committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    392eb56 View commit details
    Browse the repository at this point in the history
  5. Update CodeClimate coverage badge to new URL

    Signed-off-by: Ehud-Karavani <ehud.karavani@ibm.com>
    ehudkr committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    60a9fa9 View commit details
    Browse the repository at this point in the history
  6. Remove Travis configuration file

    Goodbye, Travis, thank you for your service.
    
    Signed-off-by: Ehud-Karavani <ehud.karavani@ibm.com>
    ehudkr committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    45a8d8b View commit details
    Browse the repository at this point in the history
  7. Remove single process constraint

    Check whether build now passes when removing the single process constraint and allowed to run in parallel
    ehudkr committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    ed100e6 View commit details
    Browse the repository at this point in the history