Skip to content

Commit

Permalink
always upload test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jul 24, 2024
1 parent f7f5866 commit fe1b9a8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-conda-${{matrix.platform}}-py${{matrix.python}}
path: |
Expand Down Expand Up @@ -137,6 +138,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-vanilla-${{matrix.platform}}-py${{matrix.python}}
path: |
Expand Down Expand Up @@ -189,6 +191,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-nojit
path: |
Expand Down Expand Up @@ -238,6 +241,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-mindep
path: |
Expand Down Expand Up @@ -295,6 +299,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-funksvd-py${{matrix.python}}
path: |
Expand Down Expand Up @@ -344,6 +349,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-mindep-funksvd
path: |
Expand Down Expand Up @@ -401,6 +407,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-implicit-py${{matrix.python}}
path: |
Expand Down Expand Up @@ -450,6 +457,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-mindep-implicit
path: |
Expand Down Expand Up @@ -506,6 +514,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-hpf-py${{matrix.python}}
path: |
Expand Down Expand Up @@ -562,6 +571,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-eval-tests
path: |
Expand Down Expand Up @@ -618,6 +628,7 @@ jobs:
coverage report
- name: 📤 Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-examples
path: |
Expand Down
1 change: 1 addition & 0 deletions lkdev/ghactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def command(cls, args: list[str]):
"id": NotRequired[str],
"name": NotRequired[str],
"uses": NotRequired[str],
"if": NotRequired[str],
"run": NotRequired[str | script],
"shell": NotRequired["str"],
"with": NotRequired[dict[str, str | int | bool | script]],
Expand Down
1 change: 1 addition & 0 deletions lkdev/workflows/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def steps_coverage(options: JobOptions) -> list[GHStep]:
{
"name": "📤 Upload test results",
"uses": "actions/upload-artifact@v4",
"if": "always()",
"with": {
"name": options.test_artifact_name,
"path": script("""
Expand Down

0 comments on commit fe1b9a8

Please sign in to comment.