Skip to content

Commit

Permalink
ci(tests): add runners and setup formulae testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tgragnato committed Sep 7, 2024
1 parent 80f640d commit fca6a39
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ on:
branches:
- main
pull_request:
branches:
- main

jobs:

test-bot:
strategy:
matrix:
os: [ macos-12 ]
os: [ macos-12, macos-13, macos-14, ubuntu-latest ]
runs-on: ${{ matrix.os }}

steps:

- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
Expand All @@ -33,12 +39,4 @@ jobs:

- run: brew test-bot --only-tap-syntax

- run: brew test-bot --only-formulae --root-url=https://ghcr.io/v2/tgragnato/amule
if: github.event_name == 'pull_request'

- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@main
with:
name: bottles
path: '*.bottle.*'
- run: brew test-bot --only-formulae --root-url=https://ghcr.io/v2/tgragnato/tap amule

0 comments on commit fca6a39

Please sign in to comment.