Add tests #31
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 | |
colima start --mount-type 9p | |
bundle install | |
bundle exec docker-sync start | |
docker compose up --detach | |
# mkdir -p shares/alice | |
# mkdir -p shares/bob | |
# mkdir -p shares/public | |
# chmod -R 777 shares | |
# docker cp ./shares samba:/ | |
swift test |