Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Install packages using UV; Be explicit within Makefiles #1242

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/py-shiny/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@ runs:
# cache-dependency-path: |
# setup.cfg

- name: Upgrade pip
shell: bash
run: python -m pip install --upgrade pip

- name: Install dependencies
shell: bash
run: |
pip install https://github.com/rstudio/py-htmltools/tarball/main
make install-deps
make install-ci

- name: Install
shell: bash
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip
run: python -m pip install --upgrade pip

- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: 1.3.340

- name: Install dependencies
run: |
cd docs
make ../venv
make deps

- name: Run quartodoc
run: |
cd docs
make quartodoc

- name: Build site
if: ${{ github.event_name != 'pull_request' || startsWith(github.head_ref, 'docs') }}
run: |
cd docs
make site
make docs-site

- name: Upload site artifact
if: github.ref == 'refs/heads/main'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,7 @@ jobs:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install https://github.com/rstudio/py-htmltools/tarball/main
make install-deps
make install-ci
make install
- name: "Build Package"
run: |
Expand Down
Loading
Loading