Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Create workflows #216

Merged
merged 13 commits into from
May 28, 2021
Merged

Create workflows #216

merged 13 commits into from
May 28, 2021

Conversation

krober10nd
Copy link
Owner

No description provided.

@krober10nd
Copy link
Owner Author

@nschloe In your Github action workflows for the projects that use pybind11, you don't install pybind11 in the CI script, right? Would this still work with previous Python versions (other than 3.9)?

@nschloe
Copy link

nschloe commented May 28, 2021

you don't install pybind11 in the CI script, right?

Not explicitly, right. It's declared as a dependency in pyproject.toml (because it's needed when setuptools runs).

@krober10nd krober10nd mentioned this pull request May 28, 2021
@krober10nd
Copy link
Owner Author

Looks like I just have to delete the CircleCI stuff now.

sudo apt-get install -y python3-pip
sudo apt install -y libopenmpi3 libopenmpi-dev openmpi-bin
sudo apt install -y libhdf5-dev
pip install .[io] --user
Copy link

Choose a reason for hiding this comment

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

No need to install pip or seismicmesh -- tox will handle it all.

Copy link
Owner Author

Choose a reason for hiding this comment

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

thanks, that's right. done.

- name: Lint with black
run: |
pip install black
black --check .
Copy link

Choose a reason for hiding this comment

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

It might be worthwhile separating out the linting. Not necessary to repeat that for every Python version.

Copy link
Owner Author

Choose a reason for hiding this comment

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

okay good point. don't want overwhelm github actions.

@krober10nd krober10nd merged commit 97d18a0 into master May 28, 2021
@krober10nd krober10nd deleted the switch_to_workflows branch May 28, 2021 22:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants