Skip to content

Commit c89219a

Browse files
committed
Remove benchmarking test
1 parent ca90cb8 commit c89219a

File tree

1 file changed

+66
-66
lines changed

1 file changed

+66
-66
lines changed
Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,79 @@
1-
name: Print Benchmarking
1+
# name: Print Benchmarking
22

3-
on: pull_request
3+
# on: pull_request
44

5-
jobs:
6-
benchmark_branch:
7-
timeout-minutes: 20
8-
runs-on: ubuntu-latest
9-
strategy:
10-
matrix:
11-
python-version: ['3.9']
12-
steps:
13-
- uses: actions/checkout@v2
14-
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v2
16-
with:
17-
python-version: ${{ matrix.python-version }}
18-
- name: Install dependencies
19-
run: |
20-
python -m pip install --upgrade pip
21-
python -m pip install -e .
22-
- name: benchmark
23-
id: bench
24-
shell: bash
25-
run: |
26-
bench=$(python -m tests.benchmarking)
27-
# V To support multiline strings V
28-
bench="${bench//'%'/'%25'}"
29-
bench="${bench//$'\n'/'%0A'}"
30-
bench="${bench//$'\r'/'%0D'}"
31-
echo "::set-output name=bench::$bench"
32-
- name: Clone prog_models
33-
uses: actions/checkout@v2
34-
with:
35-
repository: nasa/prog_models
36-
ref: ${{ github.event.pull_request.base.ref }}
37-
path: prog_models_target
38-
- name: Downgrade
39-
run: |
40-
python -m pip uninstall -y prog_models
41-
python -m pip install -e ./prog_models_target
42-
cd prog_models_target
43-
- name: benchmark-pre
44-
id: bench-pre
45-
shell: bash
46-
run: |
47-
bench=$(python -m tests.benchmarking)
48-
# V To support multiline strings V
49-
bench="${bench//'%'/'%25'}"
50-
bench="${bench//$'\n'/'%0A'}"
51-
bench="${bench//$'\r'/'%0D'}"
52-
echo "::set-output name=bench::$bench"
53-
- name: Auto Comment
54-
uses: wow-actions/auto-comment@v1
55-
with:
56-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57-
pullRequestOpened: >
58-
Benchmarking Results
5+
# jobs:
6+
# benchmark_branch:
7+
# timeout-minutes: 20
8+
# runs-on: ubuntu-latest
9+
# strategy:
10+
# matrix:
11+
# python-version: ['3.9']
12+
# steps:
13+
# - uses: actions/checkout@v2
14+
# - name: Set up Python ${{ matrix.python-version }}
15+
# uses: actions/setup-python@v2
16+
# with:
17+
# python-version: ${{ matrix.python-version }}
18+
# - name: Install dependencies
19+
# run: |
20+
# python -m pip install --upgrade pip
21+
# python -m pip install -e .
22+
# - name: benchmark
23+
# id: bench
24+
# shell: bash
25+
# run: |
26+
# bench=$(python -m tests.benchmarking)
27+
# # V To support multiline strings V
28+
# bench="${bench//'%'/'%25'}"
29+
# bench="${bench//$'\n'/'%0A'}"
30+
# bench="${bench//$'\r'/'%0D'}"
31+
# echo "::set-output name=bench::$bench"
32+
# - name: Clone prog_models
33+
# uses: actions/checkout@v2
34+
# with:
35+
# repository: nasa/prog_models
36+
# ref: ${{ github.event.pull_request.base.ref }}
37+
# path: prog_models_target
38+
# - name: Downgrade
39+
# run: |
40+
# python -m pip uninstall -y prog_models
41+
# python -m pip install -e ./prog_models_target
42+
# cd prog_models_target
43+
# - name: benchmark-pre
44+
# id: bench-pre
45+
# shell: bash
46+
# run: |
47+
# bench=$(python -m tests.benchmarking)
48+
# # V To support multiline strings V
49+
# bench="${bench//'%'/'%25'}"
50+
# bench="${bench//$'\n'/'%0A'}"
51+
# bench="${bench//$'\r'/'%0D'}"
52+
# echo "::set-output name=bench::$bench"
53+
# - name: Auto Comment
54+
# uses: wow-actions/auto-comment@v1
55+
# with:
56+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
# pullRequestOpened: >
58+
# Benchmarking Results
5959

60-
From:
60+
# From:
6161

62-
${{steps.bench-pre.outputs.bench}}
62+
# ${{steps.bench-pre.outputs.bench}}
6363

64-
To:
64+
# To:
6565

66-
${{steps.bench.outputs.bench}}
66+
# ${{steps.bench.outputs.bench}}
6767

68-
pullRequestSynchronize: >
69-
Benchmarking Results [Update]
68+
# pullRequestSynchronize: >
69+
# Benchmarking Results [Update]
7070

71-
From:
71+
# From:
7272

73-
${{steps.bench-pre.outputs.bench}}
73+
# ${{steps.bench-pre.outputs.bench}}
7474

7575

76-
To:
76+
# To:
7777

7878

79-
${{steps.bench.outputs.bench}}
79+
# ${{steps.bench.outputs.bench}}

0 commit comments

Comments
 (0)