Fix colima and docker-compose on CI #272
Workflow file for this run
This file contains 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: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: macos-13 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test | |
run: | | |
set -ex | |
brew install docker | |
sudo ln -s ~/.docker/run/docker.sock /var/run/docker.sock | |
docker run -d -p 4445:445 \ | |
-e TZ=Asia/Tokyo \ | |
-v ./Tests/SMBClientTests/Fixtures/shares:/shares \ | |
elswork/samba \ | |
-u "1000:1000:alice:alice:alipass" \ | |
-u "1001:1001:bob:bob:bobpass" \ | |
-s "Alice Share:/shares/alice:rw:alice" \ | |
-s "Bob Share:/shares/bob:rw:bob" | |
swift test |