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

Initial work #77

Merged

Conversation

kcartier-wri
Copy link
Contributor

Converting Actions workflow to use Conda .

@kcartier-wri kcartier-wri marked this pull request as ready for review September 13, 2024 02:33
@kcartier-wri
Copy link
Contributor Author

kcartier-wri commented Sep 13, 2024

It took some fiddling around, but I got all workflow to pass using Conda.

Copy link
Member

@jterry64 jterry64 left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@kcartier-wri kcartier-wri merged commit 0a434f6 into main Sep 13, 2024
1 check passed
@kcartier-wri kcartier-wri deleted the CIF-204-CORE-Use-Conda-for-running-tests-in-Github-Actions branch September 13, 2024 16:32
python -m pip install --upgrade pip
pip install -r .github/requirements.txt
pip install GDAL==`gdal-config --version`
conda install pytest --yes
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't pytest installed in cities-cif? Why do we need it installed here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason to use a separate file for Actions vs just using the main project one?

@kcartier-wri
Copy link
Contributor Author

Two good points and better solution. Implemented in #79 .

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