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

Fixing tests related to repo restructuring #24

Closed
wants to merge 18 commits into from

Conversation

justbuchanan
Copy link
Member

@justbuchanan justbuchanan commented Oct 24, 2023

This PR is just a small addition to #23. I'm opening it to get some feedback from GitHub actions and see if test fixes are working.

@jmwright if this PR is helpful, feel free to just merge this into #23 and close it.

Notes:

  • I recently discovered act, which was pretty helpful in testing this locally rather than pushing a ton of commits to github
  • I updated everything in tests/ to point to src/cq_cli/cq_cli.py rather than the old path cq-cli.py
  • Every test was failing with an error about being unable to find "libGL.so.1", so I added an apt-get install libgl1-mesa-glx to tests.yml. This seems to have fixed things for linux, but we'll have to do something different for macOS and windows. Update: I was able to change this to only run apt-get install on linux

@justbuchanan
Copy link
Member Author

Ok, everything passes now on windows and linux, but not macos.

@justbuchanan justbuchanan force-pushed the restructure-justin branch 3 times, most recently from bceffb8 to 65dc1be Compare October 24, 2023 04:40
fixes "libGL.so.1: cannot open shared object file"
@justbuchanan justbuchanan force-pushed the restructure-justin branch 3 times, most recently from 8615eb2 to 05d686f Compare October 24, 2023 05:06
@justbuchanan
Copy link
Member Author

The tests are passing on linux and windows, but macos gives us:

import cadquery as cq
ImportError: No module named cadquery

@jmwright
Copy link
Member

The MacOS runner has been a pain on this repo for some reason. You can just take it out of the matrix for now and I'll fix it later. Thanks

@jmwright
Copy link
Member

Actually, I'll just merge this and disable MaxOS. Thanks for fixing the tests.

@jmwright
Copy link
Member

All green now on the restructure branch. Thanks @justbuchanan !

@jmwright jmwright closed this Oct 24, 2023
@justbuchanan justbuchanan deleted the restructure-justin branch October 24, 2023 16:18
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