From 05531b7a50444a48dcd5b7b70c51b11abfd1e354 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Tue, 23 Apr 2024 11:57:55 -0400 Subject: [PATCH] Use editable install of htmltools; Run tests before checking shiny --- .github/workflows/pytest.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 973f0a5..475e71b 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -56,10 +56,14 @@ jobs: with: python-version: ${{ matrix.python-version }} + - uses: actions/checkout@v4 + with: + path: htmltools - uses: actions/checkout@v4 with: repository: posit-dev/py-shiny path: shiny + - name: Install dev Shiny run: | python -m pip install --upgrade pip @@ -70,21 +74,18 @@ jobs: continue-on-error: true run: | cd shiny - make check + make test check - - uses: actions/checkout@v4 - name: Install dev htmltools dependencies run: | + cd htmltools python -m pip install --upgrade pip pip install -e ".[dev,test]" - - name: Install dev htmltools - run: | - make install - name: Check dev Shiny w/ dev Htmltools run: | cd shiny - make check + make test check deploy: name: "Deploy to PyPI"