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

Reasonable wercker config #82

Closed
grzanka opened this issue Jun 23, 2016 · 10 comments
Closed

Reasonable wercker config #82

grzanka opened this issue Jun 23, 2016 · 10 comments
Assignees
Milestone

Comments

@grzanka
Copy link
Collaborator

grzanka commented Jun 23, 2016

Prepare more reasonable wercker config and add finally badge to README.rst
To be discussed here.

@antnieszka
Copy link
Contributor

antnieszka commented Jun 23, 2016

There are 2 available badges:
wercker status
and
wercker status
There is also this setting: Show the status of all branches or only "master" with all and master options.

@grzanka
Copy link
Collaborator Author

grzanka commented Jun 23, 2016

smaller is better, I'd also prefer only master

@antnieszka
Copy link
Contributor

antnieszka commented Jun 23, 2016

Ok. Should we use one Python version in wercker box or try to run tests for multiple? I'm investigating how we could the latter. There are some options:

And... maybe the most important question - what kind of tests, or what at all could we run on wercker? It's really quick - comparing to travis.

@antnieszka
Copy link
Contributor

I think we could create our own docker file and use it with wercker.

@grzanka
Copy link
Collaborator Author

grzanka commented Jun 23, 2016

First of all I would like to use workflows. If some stage fails, then it doesn't make to move further.
For example:

  1. Try to make a package, if this fails, doesn't make sense to go further
  2. Check if code is correct PEP8 formatted, if yes move further
  3. Check if tests pass on Python3.4 and Python2.7 (in parallel if possible), if yes, move further
  4. Check other versions of python (in parallel if possible): 3.2,3.3,3.4,3.6
  5. Run other tests
  6. Run some integration tests (i.e. create new docker instance (or many using different Linux distros), install beprof using "pip+git" method, and run some example code which makes use of the library (issue Profile examples using urllib and numpy file reading #9))

Can it be done in wercker ?

@antnieszka
Copy link
Contributor

I'll try to make something like Proof of Concept based on steps above.

@antnieszka
Copy link
Contributor

If you don't mind - I'll test it on my repo fork, because it will be probably a lot of trash.

@grzanka
Copy link
Collaborator Author

grzanka commented Jun 23, 2016

Sure

@antnieszka antnieszka added this to the 0.1.1 milestone Nov 25, 2016
@antnieszka antnieszka modified the milestones: Next release, 0.1.1 Dec 3, 2016
@antnieszka
Copy link
Contributor

antnieszka commented Dec 4, 2016

@grzanka I have another minor decision to make:

Processing ./beprof-0.post0.dev2111480854429-py2.py3-none-any.whl
Collecting numpy>=1.10.4 (from beprof==0.post0.dev2111480854429)
  Downloading numpy-1.11.2-cp27-cp27mu-manylinux1_x86_64.whl (15.3MB)
Installing collected packages: numpy, beprof
  Found existing installation: numpy 1.8.0
    DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling numpy-1.8.0:
      Successfully uninstalled numpy-1.8.0
Successfully installed beprof-0.post0.dev2111480854429 numpy-1.11.2

It looks like repo-installed numpy is being replaced when installing beprof with pip. So the whole "Testing repo installed numpy" is pointless in this case. I'll for now use pip install --no-deps beprof*.whl.

Edit: more can be found here https://app.wercker.com/ant6/beprof/runs/test_opensuse_leap_repo/58440ba485198d010082fa9e?step=58440bb3c6f72d000173cd79

@antnieszka
Copy link
Contributor

Checklist here: #105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants