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

PR: Purge workflow cache weekly #22663

Merged
merged 4 commits into from
Oct 12, 2024
Merged

Conversation

mrclary
Copy link
Contributor

@mrclary mrclary commented Oct 11, 2024

Description of Changes

Workflow cache is purged every Sunday at 4:10 UTC.
All unit tests are then run on the latest master commit.
This will result in testing environments being resolved and cached, and verified with possible updates to indirect dependencies.

@mrclary
Copy link
Contributor Author

mrclary commented Oct 11, 2024

@ccordoba12, I tested this using a manual dispatch on my fork. The cache is purged as expected and all tests pass.

@ccordoba12 ccordoba12 added this to the v6.1.0 milestone Oct 12, 2024
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks @mrclary!

@ccordoba12 ccordoba12 merged commit 065afeb into spyder-ide:master Oct 12, 2024
17 checks passed
@mrclary mrclary deleted the purge-cache branch October 13, 2024 00:48
@ccordoba12
Copy link
Member

@mrclary, the Windows tests are failing after cleaning the cache:

https://github.com/spyder-ide/spyder/actions/runs/11311341843/job/31458679329

Could you take a look at that? Thanks!

@mrclary
Copy link
Contributor Author

mrclary commented Oct 14, 2024

Hmm... not sure what is going on here. This is not failing on our tests, but on the "Post create pip test environment" step, i.e. at the teardown process.

Error: EPERM: operation not permitted, unlink 'C:\Users\runneradmin\micromamba\pkgs\libzlib-1.3.1-h2466b09_2\zlib.dll'

It is the same error for all failed tests, and only for Windows. I don't know what could be causing this or how to fix it. Could it be a bug with setup-micromamba@v1 github action?

@mrclary
Copy link
Contributor Author

mrclary commented Oct 14, 2024

@ccordoba12, I still don't know what is causing the error. I've rerun the Windows tests several times without success, however rerunning with debug enabled caused success. 🤷🏼‍♂️ . I suspect that we will have the same issue again when the cron is triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants