Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add previously removed GitHub Actions for running tests #2968

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Integration Tests

on:
push:
branches:
- master
tags:
- '*'
pull_request:

jobs:
integration_tests:
runs-on: macos
strategy:
matrix:
xcode: [11.1, 11.3.1, 11.4]
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- uses: actions/checkout@v1
- name: Install Carthage
run: |
brew uninstall carthage
make install
- name: Run bats IntegrationTests
run: |
brew install bats
bats IntegrationTests
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test

on:
push:
branches:
- master
tags:
- '*'
pull_request:

jobs:
test:
runs-on: macOS-10.14
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strategy:
matrix:
xcode: [11.1, 11.3.1, 11.4]
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app
steps:
- uses: actions/checkout@v1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- run: make test