Skip to content

Commit

Permalink
chore(tests): update test.yml (#322)
Browse files Browse the repository at this point in the history
* Update test.yml

* Update test.yml
  • Loading branch information
firstof9 authored Apr 23, 2024
1 parent 0bfc2e5 commit 2a5b2fa
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Validate
steps:
- name: πŸ“₯ Checkout the repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4

- name: HACS validation
uses: "hacs/action@main"
Expand All @@ -28,9 +28,9 @@ jobs:
name: Check style formatting
steps:
- name: πŸ“₯ Checkout the repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
- name: πŸ› οΈ Set up Python
uses: actions/setup-python@v4.6.1
uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python3 -m pip install black
Expand All @@ -43,18 +43,18 @@ jobs:
matrix:
python-version:
# - "3.10"
- "3.11"
# - "3.11"
- "3.12"

steps:
- name: πŸ“₯ Checkout the repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
- name: πŸ› οΈ Set up Python
uses: actions/setup-python@v4.6.1
uses: actions/setup-python@v5
with:
fetch-depth: 2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.6.1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: πŸ“¦ Install requirements
Expand All @@ -63,7 +63,7 @@ jobs:
- name: πŸƒ Test with tox
run: tox
- name: πŸ“€ Upload coverage to Codecov
uses: "actions/upload-artifact@v2.2.4"
uses: "actions/upload-artifact@v4"
with:
name: coverage-data
path: "coverage.xml"
Expand All @@ -73,12 +73,12 @@ jobs:
needs: tests
steps:
- name: πŸ“₯ Checkout the repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: πŸ“₯ Download coverage data
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4
with:
name: coverage-data
- name: πŸ“€ Upload coverage report
uses: codecov/codecov-action@v3.1.1
uses: codecov/codecov-action@v4

0 comments on commit 2a5b2fa

Please sign in to comment.