diff options
-rw-r--r-- | .github/workflows/test.yml | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e2d261db..b2b5f62e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -108,7 +108,44 @@ jobs: working-directory: ./pkgcheck env: PY_COLORS: 1 # forcibly enable pytest colors - run: pytest --cov --cov-report=term --cov-report=xml -v + run: pytest -v + + pkgdev-test: + runs-on: ubuntu-latest + + steps: + + - name: Checkout pkgcore + uses: actions/checkout@v3 + with: + path: pkgcore + + - name: Checkout pkgcheck + uses: actions/checkout@v3 + with: + repository: pkgcore/pkgdev + path: pkgdev + + - name: Set up Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + cache: 'pip' + cache-dependency-path: | + pkgcore/pyproject.toml + pkgdev/pyproject.toml + + - name: Install pip dependencies + run: | + python -m pip install --upgrade pip + pip install -e "./pkgcore" + pip install "./pkgdev[test]" + + - name: Test with pytest + working-directory: ./pkgdev + env: + PY_COLORS: 1 # forcibly enable pytest colors + run: pytest -v format: runs-on: ubuntu-latest |