-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f3543d
commit df14c40
Showing
9 changed files
with
172 additions
and
63 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,6 @@ jobs: | |
uses: actions/checkout@v3 | ||
- name: xcodegen | ||
uses: xavierLowmiller/[email protected] | ||
- name: Build | ||
- name: Build and run tests | ||
run: | | ||
./ci-build.sh |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ if [ ! -z "$(git status --porcelain)" ]; then | |
git status | ||
exit 1 | ||
fi | ||
./run-tests.sh |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
set -e # Exit if one of commands exit with non-zero exit code | ||
set -u # Treat unset variables and parameters other than the special parameters ‘@’ or ‘*’ as an error | ||
set -o pipefail # Any command failed in the pipe fails the whole pipe | ||
# set -x # Print shell commands as they are executed (or you can try -v which is less verbose) | ||
|
||
cd "$(dirname "$0")" | ||
xcodebuild -scheme AeroSpace_Tests test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// macos_window_manager_swiftTests.swift | ||
// macos-window-manager-swiftTests | ||
// | ||
// Created by Nikita Bobko on 2023-05-20. | ||
// | ||
|
||
import XCTest | ||
@testable import AeroSpace_Debug | ||
|
||
final class ConfigTest: XCTestCase { | ||
func testParseI3Config() throws { | ||
let toml = try! String(contentsOf: projectRoot.appending(component: "config-examples/i3-like-config-example.toml")) | ||
let _ = parseConfig(toml) | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Foundation | ||
|
||
let projectRoot: URL = URL(filePath: #file).appending(component: "../..").standardized |
This file was deleted.
Oops, something went wrong.