Skip to content

Commit

Permalink
Start/Stop Container + Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieobject committed Mar 11, 2024
1 parent 71a119c commit a77bca7
Showing 1 changed file with 25 additions and 37 deletions.
62 changes: 25 additions & 37 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,49 +14,37 @@ jobs:
name: iOS Tests
# macos-14 currently breaks colima
runs-on: macos-13
#runs-on: macos-14

steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
#xcode-version: '14.2'
xcode-version: '15.2'

- name: Checkout project sources
uses: actions/checkout@v3

- name: Cleanup Homebrew - Nasty Hacksies
#run: brew update && brew upgrade && brew cleanup
run: |
brew update
rm '/usr/local/bin/2to3'
rm '/usr/local/bin/2to3-3.12'
rm '/usr/local/bin/idle3'
rm '/usr/local/bin/idle3.12'
rm '/usr/local/bin/pydoc3'
rm '/usr/local/bin/pydoc3.12'
rm '/usr/local/bin/python3'
rm '/usr/local/bin/python3-config'
rm '/usr/local/bin/python3.12'
rm '/usr/local/bin/python3.12-config'
rm '/usr/local/share/man/man1/python3.1'
rm '/usr/local/lib/pkgconfig/python3-embed.pc'
rm '/usr/local/lib/pkgconfig/python3.pc'
rm '/usr/local/Frameworks/Python.framework/Headers'
rm '/usr/local/Frameworks/Python.framework/Python'
rm '/usr/local/Frameworks/Python.framework/Resources'
rm '/usr/local/Frameworks/Python.framework/Versions/Current'
# - name: Install python
# run: brew install [email protected]
#
# - name: Install python
# run: brew install [email protected] || true
#

# - name: Install colima
# run: brew install colima

brew update
rm '/usr/local/bin/2to3'
rm '/usr/local/bin/2to3-3.12'
rm '/usr/local/bin/idle3'
rm '/usr/local/bin/idle3.12'
rm '/usr/local/bin/pydoc3'
rm '/usr/local/bin/pydoc3.12'
rm '/usr/local/bin/python3'
rm '/usr/local/bin/python3-config'
rm '/usr/local/bin/python3.12'
rm '/usr/local/bin/python3.12-config'
rm '/usr/local/share/man/man1/python3.1'
rm '/usr/local/lib/pkgconfig/python3-embed.pc'
rm '/usr/local/lib/pkgconfig/python3.pc'
rm '/usr/local/Frameworks/Python.framework/Headers'
rm '/usr/local/Frameworks/Python.framework/Python'
rm '/usr/local/Frameworks/Python.framework/Resources'
rm '/usr/local/Frameworks/Python.framework/Versions/Current'
- name: Install colima
run: |
brew install colima || true
Expand All @@ -68,12 +56,12 @@ jobs:
- name: Start colima
run: colima start

# - name: Start Docker containers
# run: dev/up
#
- name: Start Docker containers
run: dev/up

# # retries are added due to test failures with dependencies
# - name: Run tests
# run: script/run_tests.sh
#
# - name: Stop local test server
# run: docker-compose -p xmtp-ios -f dev/local/docker-compose.yml down
- name: Stop local test server
run: docker-compose -p xmtp-ios -f dev/local/docker-compose.yml down

0 comments on commit a77bca7

Please sign in to comment.