Add tests #34
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: | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test | |
run: | | |
set -ex | |
brew install docker docker-compose colima | |
brew install unison eugenmayer/dockersync/unox | |
colima start --mount-type 9p | |
bundle install | |
mkdir -p shares/alice | |
mkdir -p shares/bob | |
mkdir -p shares/public | |
chmod -R 777 shares | |
bundle exec docker-sync start | |
docker compose up --detach | |
# docker cp ./shares samba:/ | |
swift test |