afrim icon indicating copy to clipboard operation
afrim copied to clipboard

Fix the problem of runtime test on ci

Open pythonbrad opened this issue 1 year ago • 2 comments

Problem

The CI test fail frequently, even when it pass well on real environments. Mainly Windows and MacOS. Personally, the real test are more on Linux environment and a little bit on Windows.

Proposal

We can verify if the usage of cross-rs can fix this problem.

Useful links

  • https://github.com/cross-rs/cross

Notice

  • The CI tests don't replace the tests on real environment, but will be useful in case that the contributor can't test on other environments.

Expectations

  • [ ] Pass Windows CI (all test)
  • [ ] Pass Ubuntu CI (all test)
  • [ ] Pass MacOS CI (all test)

pythonbrad avatar Jan 29 '24 10:01 pythonbrad

It looks like Enigo has a successful running test on macOS and Windows. https://github.com/enigo-rs/enigo/blob/main/.github/workflows/integration.yml

pythonbrad avatar Jun 12 '25 12:06 pythonbrad

I think we should stop our integration tests on macOS and windows. Basically, the main important part is the afrim library and the integration test is for real world test. Then, if the integration test works on Ubuntu, we don't really need to do it on other platforms.

pythonbrad avatar Oct 05 '25 10:10 pythonbrad