From 5ac1e0a92ae22dd80056e96ec05ade3c9556fdaa Mon Sep 17 00:00:00 2001 From: "David M. Rogers" Date: Wed, 9 Oct 2024 11:09:11 -0400 Subject: [PATCH] Updating again. --- .github/workflows/python-package.yml | 15 ++++++++------- README.md | 1 + 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 1942589..ae9a7dd 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -13,8 +13,10 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest", "macos-latest"] - python-version: ["3.8", "3.9", "3.11"] + #os: ["ubuntu-latest", "macos-latest"] + os: ["ubuntu-latest"] + #python-version: ["3.8", "3.9", "3.11"] + python-version: ["3.8"] steps: - uses: actions/checkout@v3 @@ -28,17 +30,16 @@ jobs: run: | pip install poetry poetry config virtualenvs.create false + poetry install --with test,httpx - poetry install --all-extras + - name: Test with pytest + run: | + pytest --cov - name: Lint with mypy run: | mypy certified tests - - name: Test with pytest - run: | - pytest --cov - # - name: Upload coverage to Codecov # if: matrix.python-version == 3.11 && startsWith(matrix.os, 'ubuntu') # uses: codecov/codecov-action@v3 diff --git a/README.md b/README.md index 087f03f..d382809 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ [![CI](https://github.com/ORNL/certified/actions/workflows/python-package.yml/badge.svg)](https://github.com/ORNL/certified/actions) +[![Docs](https://readthedocs.org/projects/certified/badge/)](https://certified.readthedocs.io) # Certified