Skip to content
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

chore(tests): update test.yml #322

Merged
merged 2 commits into from
Apr 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading