Build binary before attempting to run it

The background process may or may not complete before the testing begins
next
Sayan Nandan 3 years ago
parent 246b974bd6
commit 8d3d878b81

@ -67,6 +67,7 @@ jobs:
- name: Run Tests
run: |
cargo build -p skyd
cargo run -p skyd -- --nosave --noart &
cargo test --verbose -- --test-threads=1
sudo pkill skyd

@ -96,6 +96,7 @@ jobs:
- name: Run Tests
run: |
cargo build --target ${{ matrix.rust }} -p skyd
cargo run -p skyd --target ${{ matrix.rust }} -- --nosave --noart &
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
sudo pkill skyd
@ -200,6 +201,7 @@ jobs:
- name: Run Tests
run: |
cargo build --target ${{ matrix.rust }} -p skyd
cargo run -p skyd --target ${{ matrix.rust }} -- --nosave --noart &
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
sudo pkill skyd
@ -301,6 +303,7 @@ jobs:
- name: Run Tests
run: |
cargo build --target ${{ matrix.rust }} -p skyd
cargo run -p skyd --target ${{ matrix.rust }} -- --nosave --noart &
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
sudo pkill skyd

8
.idea/.gitignore vendored

@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

@ -1,95 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="CMakeRunConfigurationManager" shouldGenerate="true" shouldDeleteObsolete="true">
<generated />
</component>
<component name="CMakeSettings">
<configurations>
<configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" ENABLED="true" />
</configurations>
</component>
<component name="CargoProjects">
<cargoProject FILE="$PROJECT_DIR$/Cargo.toml" />
</component>
<component name="ChangeListManager">
<list default="true" id="05446e12-25fb-4f56-ae52-664b69a61212" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="ClangdSettings">
<option name="formatViaClangd" value="false" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="GitSEFilterConfiguration">
<file-type-list>
<filtered-out-file-type name="LOCAL_BRANCH" />
<filtered-out-file-type name="REMOTE_BRANCH" />
<filtered-out-file-type name="TAG" />
<filtered-out-file-type name="COMMIT_BY_MESSAGE" />
</file-type-list>
</component>
<component name="MacroExpansionManager">
<option name="directoryName" value="k3yyr5y2" />
</component>
<component name="ProjectId" id="1mjP2LZbFlEc2swjliVmxauGK9Q" />
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
<option name="showVisibilityIcons" value="true" />
</component>
<component name="PropertiesComponent">
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="cf.first.check.clang-format" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="nodejs_package_manager_path" value="npm" />
<property name="org.rust.cargo.project.model.PROJECT_DISCOVERY" value="true" />
<property name="settings.editor.selected.configurable" value="editor.preferences.fonts.default" />
</component>
<component name="RustProjectSettings">
<option name="toolchainHomeDirectory" value="$USER_HOME$/.cargo/bin" />
<option name="version" value="2" />
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="05446e12-25fb-4f56-ae52-664b69a61212" name="Default Changelist" comment="" />
<created>1610003825159</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1610003825159</updated>
<workItem from="1610003832233" duration="85000" />
<workItem from="1610003959549" duration="724000" />
<workItem from="1617377877310" duration="374000" />
<workItem from="1617378285715" duration="53000" />
<workItem from="1617378359828" duration="613000" />
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
<option name="oldMeFiltersMigrated" value="true" />
</component>
</project>
Loading…
Cancel
Save