Skip to content

Commit

Permalink
Update upload-artifact and patch breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Sep 12, 2024
1 parent ec9150a commit 0232dbb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.neon_token}}
- name: Upload Skill Utils test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: skill-utils-test-results
name: skill-utils-test-results-${{ matrix.python-version }}
path: tests/skill-utils-test-results.xml

- name: Test Diagnostic Utils
Expand All @@ -52,9 +52,9 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.neon_token}}
- name: Upload Diagnostic Utils test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: diagnostic-utils-test-results
name: diagnostic-utils-test-results-${{ matrix.python-version }}
path: tests/diagnostic-utils-test-results.xml

unit_tests:
Expand Down Expand Up @@ -82,25 +82,25 @@ jobs:
run: |
pytest test/test_configuration.py --doctest-modules --junitxml=tests/configuration-test-results.xml
- name: Upload Configuration test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: configuration-test-results
name: configuration-test-results-${{ matrix.python-version }}
path: tests/configuration-test-results.xml

- name: Test Language
run: |
pytest test/test_language.py --doctest-modules --junitxml=tests/language-test-results.xml
- name: Upload Language test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: language-test-results
name: language-test-results-${{ matrix.python-version }}
path: tests/language-test-results.xml

- name: Test Skills Module
run: |
pytest test/test_skills_module.py --doctest-modules --junitxml=tests/skills-module-test-results.xml
- name: Upload Language test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: skills-module-test-results
name: skills-module-test-results-${{ matrix.python-version }}
path: tests/skills-module-test-results.xml

0 comments on commit 0232dbb

Please sign in to comment.