diff options
author | 2024-01-12 09:19:31 +0200 | |
---|---|---|
committer | 2024-01-12 09:19:31 +0200 | |
commit | 0bfe7c8c3c0ee0000ffd4144366178d0d8cd5e61 (patch) | |
tree | a52240e4c47a192a02639faad53dbeb7700f157e | |
parent | fix: child repository not inheriting license groups when it defines none (diff) | |
download | pkgcore-0bfe7c8c3c0ee0000ffd4144366178d0d8cd5e61.tar.gz pkgcore-0bfe7c8c3c0ee0000ffd4144366178d0d8cd5e61.tar.bz2 pkgcore-0bfe7c8c3c0ee0000ffd4144366178d0d8cd5e61.zip |
ci: verify pkgdev master with pkgcore master
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-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 |