Skip to content

build(deps): bump release-drafter/release-drafter from 7.9.0 to 7.10.… #538

build(deps): bump release-drafter/release-drafter from 7.9.0 to 7.10.…

build(deps): bump release-drafter/release-drafter from 7.9.0 to 7.10.… #538

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
tests:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- name: 📦 Install requirements
run: |
pip install tox tox-gh-actions
- name: 🏃 Test with tox
run: tox
- name: 📤 Upload coverage to Codecov
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: coverage-data
path: "coverage.xml"
coverage:
runs-on: ubuntu-latest
needs: tests
permissions:
contents: read
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
persist-credentials: false
- name: 📥 Download coverage data
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: coverage-data
- name: 📤 Upload coverage report
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}