Testing sandbox refactor & python/uv bootstrapping adjustment #31
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Useradd | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| # Limit this workflow to a single run at a time per-branch to avoid wasting worker resources | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # NOTE: use GH's action to install Python b/c uv docs say it will be faster due to caching | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v5 | |
| with: | |
| version: '3.12' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Troubleshoot Sudo | |
| run: | | |
| printenv XDG_CONFIG_DIR || echo "No XDG_CONFIG_DIR" | |
| uv run printenv XDG_CONFIG_DIR || echo "No XDG_CONFIG_DIR" | |
| which uv | |
| # sudo useradd --system --create-home --shell=/bin/bash coppy-tests | |
| # sudo -u coppy-tests `which uv` --no-config run printenv |