File tree Expand file tree Collapse file tree 2 files changed +37
-28
lines changed Expand file tree Collapse file tree 2 files changed +37
-28
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
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 }}
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments