Trinity-SciData / chips /openroad_flow_scripts /.github /workflows /github-actions-claude-shell-test.yml
STAR-future's picture
add chips/openroad_flow_scripts
d664931 verified
Raw History Blame Contribute Delete
1.15 kB
name: Test Claude Docker scripts
on:
push:
branches: [master]
paths: &claude_paths
- 'claude.sh'
- 'env.sh'
- 'docker/*claude*.sh'
- '.github/workflows/github-actions-claude-shell-test.yml'
pull_request:
paths: *claude_paths
permissions:
contents: read
jobs:
shell-tests:
# The Git fixture creates /workspace and /home/claude-user on a fresh VM.
runs-on: ubuntu-26.04
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Test wrapper arguments
run: bash docker/test-claude-sh.sh
- name: Pull container test image
run: docker pull openroad/flow-ubuntu26.04-dev:latest
- name: Test entrypoint account and settings
run: bash docker/test-claude-entrypoint.sh
- name: Test Git with reserved host paths
run: |
sudo mkdir /workspace /home/claude-user
sudo chown "$(id -u):$(id -g)" /workspace /home/claude-user
bash docker/test-claude-worktree-paths.sh