From 9aac794af69fbd8f27f4c9c403760033362e0fa8 Mon Sep 17 00:00:00 2001 From: William Melody Date: Fri, 25 Oct 2024 14:37:01 -0700 Subject: [PATCH] Run tests on macOS 14 Sonoma in GitHub Actions. --- .github/workflows/tests.yml | 41 +++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d3d076d5..62c31589 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -151,11 +151,11 @@ jobs: # # - name: "Run nb.go bats tests" # # run: script -q -e -c "bats test" - test-macos-12: - name: "Test: macOS 12 Monterey" - runs-on: macos-12 + test-macos-14: + name: "Test: macOS 14 Sonoma" + runs-on: macos-14 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Setup" run: | brew update @@ -184,6 +184,39 @@ jobs: # run: cd nb.go && go test # - name: "Run nb.go bats test" # run: unbuffer bats test + # test-macos-12: + # name: "Test: macOS 12 Monterey" + # runs-on: macos-12 + # steps: + # - uses: actions/checkout@v3 + # - name: "Setup" + # run: | + # brew update + # brew install bat + # brew install bats-core + # brew install expect + # brew install gpg + # brew install nmap + # brew install pandoc + # brew install ripgrep + # brew install w3m + # gem install asciidoctor + # git config --global user.name "Example Name" + # git config --global user.email "example@example.com" + # - uses: browser-actions/setup-chrome@v1 + # id: setup-chrome + # - run: | + # ${{ steps.setup-chrome.outputs.chrome-path }} --version + # - name: "Set $TERM=xterm" + # run: printf "TERM=xterm\\n" >> $GITHUB_ENV + # - name: "Run bats tests" + # run: unbuffer bats test + # # - name: "Install Go" + # # uses: actions/setup-go@v2 + # # - name: "Run go test" + # # run: cd nb.go && go test + # # - name: "Run nb.go bats test" + # # run: unbuffer bats test # test-macos-11: # name: "Test: macOS Big Sur 11.0" # runs-on: macos-11.0