Skip to content

Commit

Permalink
Intall Python 3.12 first
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieobject committed Mar 11, 2024
1 parent 9add61a commit 4f6de75
Showing 1 changed file with 28 additions and 18 deletions.
46 changes: 28 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
ios-tests:
name: iOS Tests
# macos-14 currently breaks colima
runs-on: macos-13
#runs-on: macos-13
runs-on: macos-14

steps:
- uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -22,22 +23,31 @@ jobs:

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

- name: Install colima
run: brew install colima

- name: Install docker
run: brew install docker docker-compose

- name: Start colima
run: colima start

- name: Start Docker containers
run: dev/up

- name: Cleanup Homebrerw
run: brew update && brew upgrade && brew cleanup

# retries are added due to test failures with dependencies
- name: Run tests
run: script/run_tests.sh
- name: Install python
run: brew install python@3.12

- name: Stop local test server
run: docker-compose -p xmtp-ios -f dev/local/docker-compose.yml down
# - name: Install python
# run: brew install python@3.12 || true
#
# - name: Install colima
# run: brew install colima
#
# - name: Install docker
# run: brew install docker docker-compose
#
# - name: Start colima
# run: colima start
#
# - 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

0 comments on commit 4f6de75

Please sign in to comment.