Skip to content

Commit

Permalink
Trigger Tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
r-dent committed Feb 1, 2024
1 parent 111ffe5 commit 6a4c168
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- name: Print job info
run: |
echo "The job was automatically triggered by a ${{ github.event_name }} event and is now running on a ${{ runner.os }} server."
echo "The job was triggered by a ${{ github.event_name }} event and is now running on a ${{ runner.os }} server."
echo "The repository is ${{ github.repository }} and the branch is ${{ github.ref }}."
echo "Available XCode versions:"
sudo ls -1 /Applications | grep "Xcode"
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Run tests"
run-name: ${{ github.actor }} is running tests
on: [push]
jobs:
run-tests:
runs-on: macos-14
steps:
- name: Print job info
run: |
echo "The job was triggered by a ${{ github.event_name }} event and is now running on a ${{ runner.os }} server."
echo "The repository is ${{ github.repository }} and the branch is ${{ github.ref }}."
echo "Available XCode versions:"
sudo ls -1 /Applications | grep "Xcode"
echo "Selected XCode version:"
/usr/bin/xcodebuild -version
- name: Check out repository code
uses: actions/checkout@v4

- name: Run the tests
run: xcodebuild -scheme StreamDeckKit-Package test -destination "platform=iOS Simulator,name=iPhone 15,OS=latest" | xcpretty

0 comments on commit 6a4c168

Please sign in to comment.