diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index d572708..cb153a6 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -6,23 +6,14 @@ on: - master jobs: - ruff: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - coverage: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ['3.12'] - steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: '3.12' - name: Install uv run: | curl -LsSf https://astral.sh/uv/install.sh | sh @@ -35,7 +26,7 @@ jobs: run: | uv pip install 'setuptools[pkg_resources]' uv pip install -e ".[test]" - - name: Run tests + - name: Run tests with coverage run: | uv pip install pytest pytest-cov pytest -s tests/ --cov=numerblox --cov-report term-missing --cov-report=xml diff --git a/.github/workflows/deploy-mkdocs.yml b/.github/workflows/deploy-mkdocs.yml index 935065f..0fe1089 100644 --- a/.github/workflows/deploy-mkdocs.yml +++ b/.github/workflows/deploy-mkdocs.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5