You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/integration-test.yml
+31-2Lines changed: 31 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -58,10 +58,39 @@ jobs:
58
58
runs-on: ubuntu-latest
59
59
strategy:
60
60
matrix:
61
-
python-version: ["3.11", "3.12", "3.13"]
61
+
include:
62
+
- python-version: 3.11
63
+
# We must save the PR number only once, and this also prevents
64
+
# "duplicate artifact" errors caused when attempting to save the same
65
+
# artifact for every python version we're running with. More specifically,
66
+
# save-pr-number must be set to 'true' for 1 (and only 1) matrix combo
67
+
# (it doesn't matter which combo).
68
+
save-pr-number: true
69
+
- python-version: 3.12
70
+
save-pr-number: false
71
+
- python-version: 3.13
72
+
save-pr-number: false
62
73
fail-fast: false
63
74
64
75
steps:
76
+
# The first 2 steps will save the PR number to a file and upload the file as an
77
+
# artifact, which we can then download if the workflow run fails (due to
78
+
# insufficient permissions), which is handled in integration-test-review.yml.
79
+
# See https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#using-data-from-the-triggering-workflow
80
+
- name: Save PR number
81
+
if: matrix.save-pr-number
82
+
env:
83
+
PR_NUMBER: ${{ github.event.number }}
84
+
run: |
85
+
mkdir -p ./pr
86
+
echo $PR_NUMBER > ./pr/pr_number
87
+
88
+
- uses: actions/upload-artifact@v4
89
+
if: matrix.save-pr-number
90
+
with:
91
+
path: pr/
92
+
name: pr_number
93
+
65
94
- name: Fetch user permission
66
95
if: github.event_name == 'pull_request_target'
67
96
id: permission
@@ -127,4 +156,4 @@ jobs:
127
156
- name: Upload coverage report
128
157
# Don't upload coverage when using the `act` tool to run the workflow locally
Data can also be opened in-memory with `earthaccess.open()`. See [our API
103
103
docs](user-reference/api/api.md) for more.
104
+
105
+
106
+
We value your feedback! We want to hear all about your experience using earthaccess. Even if you're not noticing any issues or bugs, we want to know... what annoys you? What feels great? We'd love if you would share an experience [report](https://github.com/nsidc/earthaccess/issues/new/choose) with us!
0 commit comments