Skip to content

Commit 69909a3

Browse files
ono-maxko1
authored andcommitted
Revert "Add launchable integration"
This reverts commit 62ea9d1.
1 parent e12791d commit 69909a3

6 files changed

Lines changed: 4 additions & 147 deletions

File tree

.github/workflows/protocol.yml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@ on:
66
pull_request:
77
branches: [ master ]
88

9-
env:
10-
# GITHUB_PULL_REQUEST_URL are used for commenting test reports in Launchable Github App.
11-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/link.py#L42
12-
GITHUB_PULL_REQUEST_URL: ${{ github.event.pull_request.html_url }}
13-
# The following envs are necessary in Launchable tokenless authentication.
14-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L20
15-
LAUNCHABLE_ORGANIZATION: "ruby"
16-
LAUNCHABLE_WORKSPACE: "debug"
17-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L71
18-
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
19-
209
jobs:
2110
test:
2211

@@ -29,27 +18,6 @@ jobs:
2918

3019
steps:
3120
- uses: actions/checkout@v4
32-
with:
33-
# Set fetch-depth: 0 so that Launchable can receive commits information.
34-
fetch-depth: 0
35-
# Launchable requires Python and Java
36-
# https://www.launchableinc.com/docs/resources/cli-reference/
37-
- uses: actions/setup-python@v4
38-
with:
39-
python-version: "3.10"
40-
- name: Set up JDK 1.8
41-
uses: actions/setup-java@v3
42-
with:
43-
distribution: 'adopt'
44-
java-version: '8'
45-
# Setup Launchable
46-
- name: Launchable - install command
47-
run: pip install launchable
48-
- name: Launchable - verify
49-
run: launchable verify
50-
- name: Launchable - record build
51-
run: launchable record build --name ${GITHUB_PR_HEAD_SHA}
52-
5321
- name: Set up Ruby
5422
uses: ruby/setup-ruby@v1
5523
with:
@@ -59,7 +27,4 @@ jobs:
5927
run: |
6028
bundle exec rake clobber
6129
bundle exec rake compile
62-
TESTOPTS="--runner=junitxml --junitxml-output-file=protocol.xml" bundle exec rake test_protocol
63-
- name: Launchable - record tests
64-
run: launchable record tests --flavor test=protocol --flavor os=ubuntu-latest --flavor ruby=${{ matrix.ruby-version }} file protocol.xml
65-
if: always()
30+
bundle exec rake test_protocol

.github/workflows/ruby-macos.yaml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@ on:
66
pull_request:
77
branches: [ master ]
88

9-
env:
10-
# GITHUB_PULL_REQUEST_URL are used for commenting test reports in Launchable Github App.
11-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/link.py#L42
12-
GITHUB_PULL_REQUEST_URL: ${{ github.event.pull_request.html_url }}
13-
# The following envs are necessary in Launchable tokenless authentication.
14-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L20
15-
LAUNCHABLE_ORGANIZATION: "ruby"
16-
LAUNCHABLE_WORKSPACE: "debug"
17-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L71
18-
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
19-
209
jobs:
2110
test:
2211

@@ -29,27 +18,6 @@ jobs:
2918

3019
steps:
3120
- uses: actions/checkout@v4
32-
with:
33-
# Set fetch-depth: 0 so that Launchable can receive commits information.
34-
fetch-depth: 0
35-
# Launchable requires Python and Java
36-
# https://www.launchableinc.com/docs/resources/cli-reference/
37-
- uses: actions/setup-python@v4
38-
with:
39-
python-version: "3.10"
40-
- name: Set up JDK 1.8
41-
uses: actions/setup-java@v3
42-
with:
43-
distribution: 'adopt'
44-
java-version: '8'
45-
# Setup Launchable
46-
- name: Launchable - install command
47-
run: pip install launchable
48-
- name: Launchable - verify
49-
run: launchable verify
50-
- name: Launchable - record build
51-
run: launchable record build --name ${GITHUB_PR_HEAD_SHA}
52-
5321
- name: Set up Ruby
5422
uses: ruby/setup-ruby@v1
5523
with:
@@ -59,7 +27,4 @@ jobs:
5927
run: |
6028
bundle exec rake clobber
6129
bundle exec rake compile
62-
TESTOPTS="--runner=junitxml --junitxml-output-file=ruby-macos.xml" bundle exec rake test_console
63-
- name: launchable record tests
64-
run: launchable record tests --flavor test=console --flavor os=macos-latest --flavor ruby=${{ matrix.ruby-version }} file ruby-macos.xml
65-
if: always()
30+
bundle exec rake test_console

.github/workflows/ruby.yml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@ on:
66
pull_request:
77
branches: [ master ]
88

9-
env:
10-
# GITHUB_PULL_REQUEST_URL are used for commenting test reports in Launchable Github App.
11-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/link.py#L42
12-
GITHUB_PULL_REQUEST_URL: ${{ github.event.pull_request.html_url }}
13-
# The following envs are necessary in Launchable tokenless authentication.
14-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L20
15-
LAUNCHABLE_ORGANIZATION: "ruby"
16-
LAUNCHABLE_WORKSPACE: "debug"
17-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L71
18-
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
19-
209
jobs:
2110
test:
2211

@@ -29,27 +18,6 @@ jobs:
2918

3019
steps:
3120
- uses: actions/checkout@v4
32-
with:
33-
# Set fetch-depth: 0 so that Launchable can receive commits information.
34-
fetch-depth: 0
35-
# Launchable requires Python and Java
36-
# https://www.launchableinc.com/docs/resources/cli-reference/
37-
- uses: actions/setup-python@v4
38-
with:
39-
python-version: "3.10"
40-
- name: Set up JDK 1.8
41-
uses: actions/setup-java@v3
42-
with:
43-
distribution: 'adopt'
44-
java-version: '8'
45-
# Setup Launchable
46-
- name: Launchable - install command
47-
run: pip install launchable
48-
- name: Launchable - verify
49-
run: launchable verify
50-
- name: Launchable - record build
51-
run: launchable record build --name ${GITHUB_PR_HEAD_SHA}
52-
5321
- name: Set up Ruby
5422
uses: ruby/setup-ruby@v1
5523
with:
@@ -59,7 +27,4 @@ jobs:
5927
run: |
6028
bundle exec rake clobber
6129
bundle exec rake compile
62-
TESTOPTS="--runner=junitxml --junitxml-output-file=ruby.xml" bundle exec rake test_console
63-
- name: launchable record tests
64-
run: launchable record tests --flavor test=console --flavor os=ubuntu-latest --flavor ruby=${{ matrix.ruby-version }} file ruby.xml
65-
if: always()
30+
bundle exec rake test_console

.github/workflows/test_test.yml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@ on:
66
pull_request:
77
branches: [ master ]
88

9-
env:
10-
# GITHUB_PULL_REQUEST_URL are used for commenting test reports in Launchable Github App.
11-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/link.py#L42
12-
GITHUB_PULL_REQUEST_URL: ${{ github.event.pull_request.html_url }}
13-
# The following envs are necessary in Launchable tokenless authentication.
14-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L20
15-
LAUNCHABLE_ORGANIZATION: "ruby"
16-
LAUNCHABLE_WORKSPACE: "debug"
17-
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L71
18-
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
19-
209
jobs:
2110
test:
2211

@@ -29,27 +18,6 @@ jobs:
2918

3019
steps:
3120
- uses: actions/checkout@v4
32-
with:
33-
# Set fetch-depth: 0 so that Launchable can receive commits information.
34-
fetch-depth: 0
35-
# Launchable requires Python and Java
36-
# https://www.launchableinc.com/docs/resources/cli-reference/
37-
- uses: actions/setup-python@v4
38-
with:
39-
python-version: "3.10"
40-
- name: Set up JDK 1.8
41-
uses: actions/setup-java@v3
42-
with:
43-
distribution: 'adopt'
44-
java-version: '8'
45-
# Setup Launchable
46-
- name: Launchable - install command
47-
run: pip install launchable
48-
- name: Launchable - verify
49-
run: launchable verify
50-
- name: Launchable - record build
51-
run: launchable record build --name ${GITHUB_PR_HEAD_SHA}
52-
5321
- name: Set up Ruby
5422
uses: ruby/setup-ruby@v1
5523
with:
@@ -59,7 +27,4 @@ jobs:
5927
run: |
6028
bundle exec rake clobber
6129
bundle exec rake compile
62-
TESTOPTS="--runner=junitxml --junitxml-output-file=test_test.xml" bundle exec rake test_test
63-
- name: launchable record tests
64-
run: launchable record tests --flavor test=test-framework --flavor os=ubuntu-latest --flavor ruby=${{ matrix.ruby-version }} file test_test.xml
65-
if: always()
30+
bundle exec rake test_test

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ gem "rake-compiler"
77
gem "test-unit", "~> 3.0"
88
gem "test-unit-rr"
99
gem "json-schema"
10-
gem "test-unit-runner-junitxml"

test/support/test_case.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
require 'timeout'
88
require 'json'
99
require 'rbconfig'
10-
# "test/unit/runner/junitxml" is used for reporting test result in JUnit XML format.
11-
require "test/unit/runner/junitxml"
1210
require_relative '../../lib/debug/client'
1311

1412
require_relative 'assertions'

0 commit comments

Comments
 (0)