@@ -2,27 +2,27 @@ name: examples
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 paths :
77 - " **.py"
88 - " .github/workflows/examples.yml"
99 pull_request :
10- paths :
10+ paths :
1111 - " **.py"
1212 - " .github/workflows/examples.yml"
1313 schedule :
14- - cron : " 0 0 1 * *"
14+ - cron : " 0 0 1 * *"
1515
1616jobs :
1717 pip-build :
1818 name : Default ${{ matrix.python-version }}
1919 strategy :
2020 matrix :
21- python-version : ["3.7", "3.8", "3.9", "3.10"]
21+ python-version : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
2222 runs-on : ubuntu-latest
2323 steps :
2424 - name : Checkout
25- uses : actions/checkout@v2
25+ uses : actions/checkout@v3
2626
2727 - name : Set up Python ${{ matrix.python-version }}
2828 uses : actions/setup-python@v2
@@ -32,12 +32,33 @@ jobs:
3232 - name : Install Dependencies
3333 run : |
3434 pip install .
35+ # pip install mud==0.1.1
36+ pip install -U mud
3537
36- - name : Test CLI
38+ - name : Test CLI (no TeX)
39+ continue-on-error : true
3740 run : |
3841 cd /tmp
3942 mud_run_all -v
40-
43+
44+ - name : Install apt dependencies
45+ run : |
46+ sudo apt-get install -yqq \
47+ texlive-base \
48+ texlive-latex-base \
49+ texlive-latex-extra \
50+ texlive-fonts-recommended \
51+ texlive-fonts-extra \
52+ texlive-science \
53+ latexmk \
54+ dvipng \
55+ cm-super
56+
57+ - name : Test CLI (w TeX)
58+ run : |
59+ cd /tmp
60+ mud_run_all -v
61+
4162 - name : Generate figures using makefile
4263 run : |
4364 cd scripts
7293 - name : Install Dependencies
7394 run : |
7495 pip install .
75- pip install mud==0.1rc1
96+ # pip install mud==0.1.1
97+ pip install -U mud
7698
7799 - name : Conda information
78100 run : conda list
0 commit comments