Skip to content

Commit 4d40090

Browse files
authored
Merge pull request #5 from hpc-io/include-ci
Include new CI and template for issues
2 parents c82654a + c0a7020 commit 4d40090

File tree

7 files changed

+382
-2
lines changed

7 files changed

+382
-2
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Bug report
2+
description: File a bug report
3+
title: "[Bug]: "
4+
labels: ["bug", "triage"]
5+
6+
assignees:
7+
- octocat
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
Thanks for taking the time to fill out this bug report!
13+
14+
- type: textarea
15+
id: what-happened
16+
attributes:
17+
label: What happened?
18+
description: Please, describe the issue you are facing.
19+
placeholder:
20+
value:
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
id: what-is-expected
26+
attributes:
27+
label: What did you expect to happen?
28+
description: Please, describe what you expected to happen.
29+
placeholder:
30+
value:
31+
validations:
32+
required: true
33+
34+
- type: dropdown
35+
id: version
36+
attributes:
37+
label: Version
38+
description: What version of Drishti are you running?
39+
options:
40+
- 0.4 (Default)
41+
- 0.3
42+
validations:
43+
required: true
44+
45+
- type: textarea
46+
id: logs
47+
attributes:
48+
label: Relevant log output
49+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
50+
render: shell
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Feature request
2+
description: Request a new feature
3+
title: "[Feature]: "
4+
labels: ["enhancement", "triage"]
5+
6+
assignees:
7+
- octocat
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
Thanks for taking the time to fill out this feature request!
13+
14+
- type: textarea
15+
id: what-feature
16+
attributes:
17+
label: What feature do you want?
18+
description: Please, describe the feature you are requesting.
19+
placeholder:
20+
value:
21+
validations:
22+
required: true

.github/workflows/[flake8]

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
max-line-length = 160
3+
exclude = .git,__pycache__,docs/source/conf.py,build,dist
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: Drishti (Darshan 3.4.0)
2+
3+
on:
4+
pull_request:
5+
push:
6+
workflow_dispatch:
7+
8+
jobs:
9+
drishti:
10+
runs-on: ubuntu-latest
11+
container: jlbez/dxt-explorer-ubuntu-20.04
12+
timeout-minutes: 60
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: true
18+
19+
- name: Dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install cmake gcc git libtool python3 python3-pip libcurl4-openssl-dev software-properties-common -y
23+
24+
# Darshan
25+
git clone https://github.com/darshan-hpc/darshan.git darshan-3.4.0
26+
cd darshan-3.4.0
27+
git checkout darshan-3.4.0
28+
29+
pip install --upgrade pip
30+
31+
- name: Build Darshan
32+
run: |
33+
export DARSHAN_DIR=/opt/darshan
34+
35+
mkdir $DARSHAN_DIR
36+
cd darshan-3.4.0
37+
bash prepare.sh
38+
cd darshan-util
39+
./configure --prefix=$DARSHAN_DIR
40+
make
41+
make install
42+
43+
- name: Install py-darshan
44+
run: |
45+
pip install darshan==3.4.0.1
46+
47+
- name: Install Drishti
48+
run: |
49+
pip install -r requirements.txt
50+
pip install .
51+
52+
- name: Run Drishti (--help)
53+
run: |
54+
export PATH=/opt/darshan/bin:$PATH
55+
56+
drishti -h
57+
58+
- name: Run Drishti (--issues)
59+
run: |
60+
export PATH=/opt/darshan/bin:$PATH
61+
62+
drishti --issues sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
63+
64+
- name: Run Drishti (--code)
65+
run: |
66+
export PATH=/opt/darshan/bin:$PATH
67+
68+
drishti --code sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
69+
70+
- name: Run DXT Explorer (--verbose)
71+
run: |
72+
export PATH=/opt/darshan/bin:$PATH
73+
74+
drishti --verbose sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
75+
76+
- name: Run DXT Explorer (--path)
77+
run: |
78+
export PATH=/opt/darshan/bin:$PATH
79+
80+
drishti --path sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
81+
82+
- name: Run DXT Explorer (--html)
83+
run: |
84+
export PATH=/opt/darshan/bin:$PATH
85+
86+
drishti --html sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
87+
88+
- name: Run DXT Explorer (--svg)
89+
run: |
90+
export PATH=/opt/darshan/bin:$PATH
91+
92+
drishti --svg sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
93+
94+
- name: Upload Artifact
95+
if: always()
96+
uses: actions/upload-artifact@v2
97+
with:
98+
name: tests
99+
path: sample/**
100+
retention-days: 1
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: Drishti (Darshan 3.4.1)
2+
3+
on:
4+
pull_request:
5+
push:
6+
workflow_dispatch:
7+
8+
jobs:
9+
drishti:
10+
runs-on: ubuntu-latest
11+
container: jlbez/dxt-explorer-ubuntu-20.04
12+
timeout-minutes: 60
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: true
18+
19+
- name: Dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install cmake gcc git libtool python3 python3-pip libcurl4-openssl-dev software-properties-common -y
23+
24+
# Darshan
25+
git clone https://github.com/darshan-hpc/darshan.git darshan-3.4.1
26+
cd darshan-3.4.1
27+
git checkout darshan-3.4.1
28+
29+
pip install --upgrade pip
30+
31+
- name: Build Darshan
32+
run: |
33+
export DARSHAN_DIR=/opt/darshan
34+
35+
mkdir $DARSHAN_DIR
36+
cd darshan-3.4.1
37+
bash prepare.sh
38+
cd darshan-util
39+
./configure --prefix=$DARSHAN_DIR
40+
make
41+
make install
42+
43+
- name: Install py-darshan
44+
run: |
45+
pip install darshan==3.4.1
46+
47+
- name: Install Drishti
48+
run: |
49+
pip install -r requirements.txt
50+
pip install .
51+
52+
- name: Run Drishti (--help)
53+
run: |
54+
export PATH=/opt/darshan/bin:$PATH
55+
56+
drishti -h
57+
58+
- name: Run Drishti (--issues)
59+
run: |
60+
export PATH=/opt/darshan/bin:$PATH
61+
62+
drishti --issues sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
63+
64+
- name: Run Drishti (--code)
65+
run: |
66+
export PATH=/opt/darshan/bin:$PATH
67+
68+
drishti --code sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
69+
70+
- name: Run DXT Explorer (--verbose)
71+
run: |
72+
export PATH=/opt/darshan/bin:$PATH
73+
74+
drishti --verbose sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
75+
76+
- name: Run DXT Explorer (--path)
77+
run: |
78+
export PATH=/opt/darshan/bin:$PATH
79+
80+
drishti --path sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
81+
82+
- name: Run DXT Explorer (--html)
83+
run: |
84+
export PATH=/opt/darshan/bin:$PATH
85+
86+
drishti --html sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
87+
88+
- name: Run DXT Explorer (--svg)
89+
run: |
90+
export PATH=/opt/darshan/bin:$PATH
91+
92+
drishti --svg sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
93+
94+
- name: Upload Artifact
95+
if: always()
96+
uses: actions/upload-artifact@v2
97+
with:
98+
name: tests
99+
path: sample/**
100+
retention-days: 1
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: Drishti (Darshan 3.4.2)
2+
3+
on:
4+
pull_request:
5+
push:
6+
workflow_dispatch:
7+
8+
jobs:
9+
drishti:
10+
runs-on: ubuntu-latest
11+
container: jlbez/dxt-explorer-ubuntu-20.04
12+
timeout-minutes: 60
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: true
18+
19+
- name: Dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install cmake gcc git libtool python3 python3-pip libcurl4-openssl-dev software-properties-common -y
23+
24+
# Darshan
25+
git clone https://github.com/darshan-hpc/darshan.git darshan-3.4.2
26+
cd darshan-3.4.2
27+
git checkout darshan-3.4.2
28+
29+
pip install --upgrade pip
30+
31+
- name: Build Darshan
32+
run: |
33+
export DARSHAN_DIR=/opt/darshan
34+
35+
mkdir $DARSHAN_DIR
36+
cd darshan-3.4.2
37+
bash prepare.sh
38+
cd darshan-util
39+
./configure --prefix=$DARSHAN_DIR
40+
make
41+
make install
42+
43+
- name: Install py-darshan
44+
run: |
45+
pip install darshan==3.4.2
46+
47+
- name: Install Drishti
48+
run: |
49+
pip install -r requirements.txt
50+
pip install .
51+
52+
- name: Run Drishti (--help)
53+
run: |
54+
export PATH=/opt/darshan/bin:$PATH
55+
56+
drishti -h
57+
58+
- name: Run Drishti (--issues)
59+
run: |
60+
export PATH=/opt/darshan/bin:$PATH
61+
62+
drishti --issues sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
63+
64+
- name: Run Drishti (--code)
65+
run: |
66+
export PATH=/opt/darshan/bin:$PATH
67+
68+
drishti --code sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
69+
70+
- name: Run DXT Explorer (--verbose)
71+
run: |
72+
export PATH=/opt/darshan/bin:$PATH
73+
74+
drishti --verbose sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
75+
76+
- name: Run DXT Explorer (--path)
77+
run: |
78+
export PATH=/opt/darshan/bin:$PATH
79+
80+
drishti --path sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
81+
82+
- name: Run DXT Explorer (--html)
83+
run: |
84+
export PATH=/opt/darshan/bin:$PATH
85+
86+
drishti --html sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
87+
88+
- name: Run DXT Explorer (--svg)
89+
run: |
90+
export PATH=/opt/darshan/bin:$PATH
91+
92+
drishti --svg sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
93+
94+
- name: Upload Artifact
95+
if: always()
96+
uses: actions/upload-artifact@v2
97+
with:
98+
name: tests
99+
path: sample/**
100+
retention-days: 1

0 commit comments

Comments
 (0)