Skip to content

Commit d95b99f

Browse files
committed
separate workflows
1 parent 9877e68 commit d95b99f

File tree

2 files changed

+37
-28
lines changed

2 files changed

+37
-28
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,6 @@ on:
99

1010
jobs:
1111

12-
convert_csv_to_md:
13-
runs-on: ${{ matrix.os }}
14-
strategy:
15-
matrix:
16-
os: [ubuntu-latest]
17-
python-version: [3.8]
18-
19-
steps:
20-
- uses: actions/checkout@v2
21-
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v1
23-
with:
24-
python-version: ${{ matrix.python-version }}
25-
- name: Install dependencies
26-
run: |
27-
pip install wheel pandas
28-
pip install wheel tabulate
29-
- name: Run script to convert table
30-
run: |
31-
python doc/convert_to_md.py
32-
- name: Commit md file
33-
run: |
34-
git add doc/code_contributions_record.md
35-
git config --global user.name 'OSIPI'
36-
git config --global user.email 'OSIPI@users.noreply.github.com'
37-
git diff --exit-code || git commit -am "commit code_contributions_record.md"
38-
git push
39-
4012
build:
4113

4214
runs-on: ${{ matrix.os }}

.github/workflows/convert_csv.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: convert_csv
5+
6+
on:
7+
- push
8+
9+
jobs:
10+
11+
convert_csv_to_md:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest]
16+
python-version: [3.8]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v1
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
pip install wheel pandas
27+
pip install wheel tabulate
28+
- name: Run script to convert table
29+
run: |
30+
python doc/convert_to_md.py
31+
- name: Commit md file
32+
run: |
33+
git add doc/code_contributions_record.md
34+
git config --global user.name 'OSIPI'
35+
git config --global user.email 'OSIPI@users.noreply.github.com'
36+
git diff --exit-code || git commit -am "commit code_contributions_record.md"
37+
git push

0 commit comments

Comments
 (0)