Git Product home page Git Product logo

Comments (6)

jordiferrero avatar jordiferrero commented on June 19, 2024

@ericpre If you are happy with this CI implementation, please cloase this issue. Otherwise we can work on it further.

from lumispy.

ericpre avatar ericpre commented on June 19, 2024

I have wrote a couple of comments on #30. Having Azure pipeline would be worth to test on the 3 main platforms.

from lumispy.

jordiferrero avatar jordiferrero commented on June 19, 2024

Working on adding Azure pipeline in #33 .

from lumispy.

jordiferrero avatar jordiferrero commented on June 19, 2024

Now both Travis and Azure pipelines work well.
However, I would ask if you could quickly check if the Azure pipeline is doing the tasks it is supposed to do (so far it simply runs the same pytest scripts as Travis), @ericpre .

I also don't seem to understand why in here if I set as endpoint: lumispy (so the organisation under my username in DevOps) the pipeline fails. As far as I know, both my username (jordiferrero) and the organisation (lumispy) should have full access to Github from Azure...

from lumispy.

ericpre avatar ericpre commented on June 19, 2024

However, I would ask if you could quickly check if the Azure pipeline is doing the tasks it is supposed to do (so far it simply runs the same pytest scripts as Travis), @ericpre .

Yes, both are working, but I would suggest to do the following:

  • travis test pip only install using packages from pypi
  • azure test conda environment

At the moment, it azure is doing almost the same as travis, using packages from pypi instead of conda packages. This is because you are missing the files defining what package to install in the conda environment (see https://github.com/hyperspy/ci-scripts#conda-environment).

Since pip and conda are the main way to install python packages, this is useful to check that both are working fine. For a pure python library, this may sounds overkill but it has the advantage that it checked that the dependencies are working fine in both cases. Also packages are usually release first on pypi before being available on anaconda cloud and if the update of a dependency break the test suite, it should come up first on travis.

As mentioned in hyperspy/ci-scripts#1, I will follow up with a PR to clarify these points.

I also don't seem to understand why in here if I set as endpoint: lumispy (so the organisation under my username in DevOps) the pipeline fails. As far as I know, both my username (jordiferrero) and the organisation (lumispy) should have full access to Github from Azure...

Can you please point out to a specific build?

from lumispy.

jordiferrero avatar jordiferrero commented on June 19, 2024

I also don't seem to understand why in here if I set as endpoint: lumispy (so the organisation under my username in DevOps) the pipeline fails. As far as I know, both my username (jordiferrero) and the organisation (lumispy) should have full access to Github from Azure...

Can you please point out to a specific build?

@ericpre Here are the examples:

  • Here the build was made setting endpoint: jordiferrero. All good.

  • Here the only change was to add endpoint:lumispy.
    This suddenly raises the following error:
    /azure-pipelines.yml: Could not get the latest source version for repository hyperspy/ci-scripts hosted on https://github.com/ using ref refs/heads/master. GitHub reported the error, "Not Found"

The same issue happens when I merge my personal fork to the lumispy repository.
I have opened a PR #36 for this specific issue.

from lumispy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.