Skip to content

Commit

Permalink
Set -w /workspace docker run option
Browse files Browse the repository at this point in the history
  • Loading branch information
ymattw committed Jun 23, 2024
1 parent d9bf050 commit 512e6fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
uses: "addnab/docker-run-action@v3"
with:
image: "python:${{ matrix.python-version }}-alpine"
options: --rm -v ${{ github.workspace }}:/workspace
options: --rm -v ${{ github.workspace }}:/workspace -w /workspace
run: |
set -o errexit
apk add --no-cache bash make
cd /workspace
make build
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ jobs:
uses: "addnab/docker-run-action@v3"
with:
image: "python:${{ matrix.python-version }}-alpine"
options: --rm -v ${{ github.workspace }}:/workspace
options: --rm -v ${{ github.workspace }}:/workspace -w /workspace
run: |
set -o errexit
apk add --no-cache bash less make
cd /workspace
python3 -m pip install -r requirements-dev.txt
make test

0 comments on commit 512e6fb

Please sign in to comment.