Skip to content

Commit

Permalink
try upload
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Kurz <[email protected]>
  • Loading branch information
scottkurz committed Feb 24, 2024
1 parent 6d7832e commit 0b02537
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/run-regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
# Checkout the eclipse plugin repository.
- name: 'Setup: Checkout plugin'
uses: actions/checkout@v2
run: |
mkdir logs
find a/b/c/d -type f -name "*.log" -exec cp {} logs \;
# Install the required software.
- name: 'Setup: Install required software'
Expand All @@ -36,3 +39,10 @@ jobs:
# Build the plugin.
- name: 'Build: Build-Package-RunTests'
run: bash ./tests/resources/ci/scripts/exec.sh ${{ matrix.targetPlatform }}

- name: Upload Logs
uses: actions/upload-artifact@v2
with:
name: test-app-logs
path: logs

4 changes: 2 additions & 2 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-build</artifactId>
<version>4.0.6</version>
</extension>
</extensions>
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ public static final void validateBeforeTestRun() {
* Tests the start with parameters menu action on a dashboard listed application.
*/
@Test
@Disabled
public void testLibertyConfigurationTabsExist() {

Shell configShell = launchRunConfigurationsDialogFromAppRunAs(MVN_APP_NAME);
Expand All @@ -335,6 +336,7 @@ public void testLibertyConfigurationTabsExist() {
}

@Test
@Disabled
@DisabledOnMac
public void testMavenCommandAssembly() throws IOException, InterruptedException, CommandNotFoundException {

Expand All @@ -348,6 +350,7 @@ public void testMavenCommandAssembly() throws IOException, InterruptedException,
}

@Test
@Disabled
public void testMavenWrapperCommandAssembly() throws IOException, InterruptedException, CommandNotFoundException {
IProject iProject = LibertyPluginTestUtils.getProject(MVN_WRAPPER_APP_NAME);
String projPath = iProject.getLocation().toOSString();
Expand All @@ -366,6 +369,12 @@ public void testDashboardStartActionWithWrapper() {
// Start dev mode.
launchDashboardAction(MVN_WRAPPER_APP_NAME, DashboardView.APP_MENU_ACTION_START);

try {
Thread.sleep(15000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
goGlobal("Terminal");

// Validate application is up and running.
Expand All @@ -386,6 +395,7 @@ public void testDashboardStartActionWithWrapper() {
* Tests the start menu action on a dashboard listed application.
*/
@Test
@Disabled
public void testDashboardStartAction() {
// Start dev mode.
launchDashboardAction(MVN_APP_NAME, DashboardView.APP_MENU_ACTION_START);
Expand All @@ -412,6 +422,7 @@ public void testDashboardStartAction() {
* @throws InterruptedException
*/
@Test
@Disabled
public void testDashboardStopExternalServer() throws CommandNotFoundException, IOException, InterruptedException {

Path projAbsolutePath = wrapperProjectPath.toAbsolutePath();
Expand Down Expand Up @@ -444,6 +455,7 @@ public void testDashboardStopExternalServer() throws CommandNotFoundException, I
* Tests the start menu action on a dashboard listed application.
*/
@Test
@Disabled
public void testDashboardDebugAction() {
// Start dev mode.
launchDashboardAction(MVN_APP_NAME, DashboardView.APP_MENU_ACTION_DEBUG);
Expand All @@ -466,6 +478,7 @@ public void testDashboardDebugAction() {
* Tests the start with parameters menu action on a dashboard listed application.
*/
@Test
@Disabled
public void testDashboardStartWithCustomConfigAction() {

// Delete any previously created configs.
Expand Down Expand Up @@ -502,6 +515,7 @@ public void testDashboardStartWithCustomConfigAction() {
* Tests the start with parameters menu action on a dashboard listed application.
*/
@Test
@Disabled
public void testDashboardDebugWithCustomConfigAction() {

// Delete any previously created configs.
Expand Down Expand Up @@ -541,6 +555,7 @@ public void testDashboardDebugWithCustomConfigAction() {
* Tests the start, run tests, view test report, and stop dashboard actions.
*/
@Test
@Disabled
public void testDashboardActions() {

// Delete the test report files before we start this test.
Expand Down Expand Up @@ -590,6 +605,7 @@ public void testDashboardActions() {
* Run.
*/
@Test
@Disabled
public void testStartWithDefaultRunAsConfig() {

deleteLibertyToolsRunConfigEntriesFromAppRunAs(MVN_APP_NAME);
Expand Down Expand Up @@ -617,6 +633,7 @@ public void testStartWithDefaultRunAsConfig() {
* -> Run.
*/
@Test
@Disabled
public void testStartWithCustomRunAsConfig() {
// Delete any previously created configs.
deleteLibertyToolsRunConfigEntriesFromAppRunAs(MVN_APP_NAME);
Expand Down Expand Up @@ -649,6 +666,7 @@ public void testStartWithCustomRunAsConfig() {
* Tests the start, run tests, view IT report, view UT report, and stop run as shortcut actions.
*/
@Test
@Disabled
public void testRunAsShortcutActions() {

// Delete any previously created configs.
Expand Down Expand Up @@ -701,6 +719,7 @@ public void testRunAsShortcutActions() {
* (customized) -> Run.
*/
@Test
@Disabled
public void testStartWithCustomDebugAsConfig() {

deleteLibertyToolsRunConfigEntriesFromAppRunAs(MVN_APP_NAME);
Expand Down Expand Up @@ -749,6 +768,7 @@ public void testStartWithCustomDebugAsConfig() {
* Tests the start/stop debug as shortcut actions.
*/
@Test
@Disabled
public void testStartWithDebugAsShortcut() {

// Delete any previously created configs.
Expand Down Expand Up @@ -800,6 +820,7 @@ public void testStartWithNoWrapperAndNoPreferencesSet() {
}

@Test
@Disabled
@DisabledOnMac
public void testStartWithWrapperAndNoPreferencesSet() {

Expand Down Expand Up @@ -836,6 +857,7 @@ public void testStartWithWrapperAndNoPreferencesSet() {
}

@Test
@Disabled
@DisabledOnMac
public void testStartWithNoWrapperAndPreferencesSet() {

Expand Down Expand Up @@ -871,6 +893,7 @@ public void testStartWithNoWrapperAndPreferencesSet() {
* configuration JRE tab.
*/
@Test
@Disabled
public void testDefaultJRECompliance() {
// Delete any previously created configs.
deleteLibertyToolsRunConfigEntriesFromAppRunAs(MVN_APP_NAME);
Expand Down Expand Up @@ -903,6 +926,7 @@ public void testDefaultJRECompliance() {
* Tests that the Common Tab is added and can be opened
*/
@Test
@Disabled
public void testDefaultCommonTab() {

deleteLibertyToolsRunConfigEntriesFromAppRunAs(MVN_APP_NAME);
Expand Down Expand Up @@ -931,6 +955,7 @@ public void testDefaultCommonTab() {
* @throws Exception
*/
@Test
@Disabled
public void testAddingProjectToDashboardManually() throws Exception {

IProject iProject = LibertyPluginTestUtils.getProject(NON_DFLT_NAME);
Expand Down Expand Up @@ -970,6 +995,7 @@ public void testAddingProjectToDashboardManually() throws Exception {
* out any existing "container" configurations.
*/
@Test
@Disabled
public void testLaunchConfigurationMatching() {

// Delete any previously created configs.
Expand Down Expand Up @@ -1009,6 +1035,7 @@ public void testLaunchConfigurationMatching() {
* Tests that the correct dependency projects are added to the debug source lookup list
*/
@Test
@Disabled
public void testDebugSourceLookupContent() {

deleteLibertyToolsRunConfigEntriesFromAppRunAs(MVN_APP_NAME);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,21 @@ public void run() {

}

public static void goGlobalTerminal() {
String terminal = "Terminal";
Option options = Option.getGlobalOptions();
Object o = findGlobal(terminal, options);

if (o != null) {
go(o, options);
} else {
logErr("Unable to find item in go(String) '" + terminal + "'", options);
}

CTabItem ctab = (CTabItem)o;
System.out.println("SKSK: terminal text = " + ctab.getText());
}

public static void goGlobal(final String name) {
goGlobal(name, Option.getGlobalOptions());
}
Expand Down

0 comments on commit 0b02537

Please sign in to comment.