Skip to content

use github.action_path for requirements.txt #8

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

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

mathause
Copy link
Contributor

@mathause mathause commented Dec 3, 2024

Finally came around to test this (regionmask/regionmask#587), however, it currently fails (actions-run) with ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

If I understand the docs correctly we can use ${{ github.action_path }}/requirements.txt to fix this.

@mathause
Copy link
Contributor Author

mathause commented Dec 3, 2024

That has worked: https://github.com/regionmask/regionmask/actions/runs/12134418776/job/33831594143?pr=587

I am not sure if there is a way to test this from within this repo (except that it still works).

@keewis
Copy link
Contributor

keewis commented Dec 3, 2024

no, indeed, I don't think we can test this other than by creating a separate repository.

Either way, thanks for the fix!

@keewis keewis merged commit 7fefa63 into xarray-contrib:main Dec 3, 2024
10 checks passed
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