File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : convert
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ jobs :
8+
9+ convert :
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ matrix :
13+ os : [ubuntu-latest]
14+ python-version : [3.8]
15+
16+ steps :
17+ - uses : actions/checkout@v2
18+ - name : Set up Python ${{ matrix.python-version }}
19+ uses : actions/setup-python@v1
20+ with :
21+ python-version : ${{ matrix.python-version }}
22+ - name : Install dependencies
23+ run : |
24+ pip install wheel pandas
25+ pip install wheel tabulate
26+ - name : Run script to convert table
27+ run : |
28+ python doc/convert_to_md.py
29+ - name : Commit md file
30+ run : |
31+ git config --global user.name 'OSIPI'
32+ git config --global user.email 'OSIPI@users.noreply.github.com'
33+ git commit -am "code_contributions_record.md"
34+ git push
Original file line number Diff line number Diff line change 1+ import pandas as pd
2+
3+ df = pd .read_csv ('./code_contributions_record.csv' )
4+ with open ('code_contributions_record.md' , 'w' ) as md :
5+ df .to_markdown (buf = md , index = False )
You can’t perform that action at this time.
0 commit comments