Setup github actions #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
name: Tests | |
on: | |
push: | |
pull_request: | |
types: [opened] | |
jobs: | |
build: | |
runs-on: macos-latest-xlarge | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Build project | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v | |
- name: Build the macOS app without signing | |
working-directory: ./NetFlex | |
run: | | |
xcodebuild -project NetFlex.xcodeproj -scheme NetFlex clean build CODE_SIGNING_ALLOWED=NO | xcpretty |