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

V0.1.x #651

Merged
merged 7 commits into from
May 20, 2022
Merged

V0.1.x #651

merged 7 commits into from
May 20, 2022

Conversation

lionsardesai
Copy link
Contributor

Description

Publish had a few issues. this PR should fix those and make the branch v0.1.x auto-deployable when tagged.

Fixes N/A

Type of change

Please delete options that are not relevant.

  • [ x ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

pipeline runs.

Comment on lines -90 to +92
"pip install pandas scikit-learn", capture=False, cd=str(tmp_path)
)
os.chdir(str(tmp_path))

virtualenv.run(
"python sliced_housing_multiple_script_dag.py",
capture=False,
# Run in current root lineapy so that relative paths are accurate
cd=str(tmp_path),
)
subprocess.check_call(["python", "sliced_housing_multiple_script_dag.py"])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

getting rid of virtual env speeds up the tests from 100s to about 2 seconds. (Needed some python file change to trigger workflows in prev versions. not removing it since its a positive change)

Copy link
Contributor

Choose a reason for hiding this comment

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

Just to make sure, are we intentionally retaining virtualenv input arg in the function?

setup.py Show resolved Hide resolved
branches:
- "v[0-9]+.[0-9]+.x"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

can remove this if pushing tag triggers two pipelines.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, leaving this conv open for us to check if this is the case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tested adding a tag. it runs it once for push only. There is no link between a publish and test though so it will be up to us to check stuff before releasing. If it creates a problem we can look into making this dependent on pytest output.

@lionsardesai lionsardesai merged commit 69e0cbe into main May 20, 2022
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.

2 participants