Deal with PermissionError when setting up the working_dir #43315
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: macOS startup | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'doc/**' | |
| - 'lib/galaxy_test/selenium/**' | |
| - 'packages/**' | |
| pull_request: | |
| paths-ignore: | |
| - 'doc/**' | |
| - 'lib/galaxy_test/selenium/**' | |
| - 'packages/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-client: | |
| uses: ./.github/workflows/build_client.yaml | |
| test: | |
| name: Startup test | |
| runs-on: macos-latest | |
| needs: build-client | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.10', '3.14'] | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| path: 'galaxy root' | |
| persist-credentials: false | |
| - name: Install miniforge # use this job to test using Python from a conda environment | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| miniforge-version: latest | |
| activate-environment: '' | |
| - name: Restore client cache | |
| uses: actions/cache@v5 | |
| with: | |
| fail-on-cache-miss: true | |
| key: galaxy-static-${{ needs.build-client.outputs.commit-id }} | |
| path: 'galaxy root/static' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install tox | |
| run: uv tool install tox --with tox-uv | |
| - name: Run tests | |
| run: tox -e first_startup | |
| working-directory: 'galaxy root' | |
| env: | |
| GALAXY_CONDA_PYTHON_VERSION: "${{ matrix.python-version }}" |