1
- name : CI
1
+ name : Python CI
2
2
on : [push]
3
3
jobs :
4
4
sympy_stable-ubuntu :
5
5
runs-on : ubuntu-latest
6
6
steps :
7
7
- run : echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
8
8
- name : checkout repository
9
- uses : actions/checkout@v2
9
+ uses : actions/checkout@v4.2.2
10
10
- name : install python
11
- uses : actions/setup-python@v4
11
+ uses : actions/setup-python@v5.3.0
12
12
with :
13
- python-version : 3.8. x
14
- - name : install sympy (latest stable version )
15
- run : python -m pip install ipython sympy
13
+ python-version : 3.x
14
+ - name : install sympy (latest stable)
15
+ run : python -m pip install sympy
16
16
- name : perform unit testing
17
17
run : python -m unittest
18
18
sympy_stable-windows :
19
19
runs-on : windows-latest
20
20
steps :
21
21
- run : echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
22
22
- name : checkout repository
23
- uses : actions/checkout@v2
23
+ uses : actions/checkout@v4.2.2
24
24
- name : install python
25
- uses : actions/setup-python@v4
25
+ uses : actions/setup-python@v5.3.0
26
26
with :
27
- python-version : 3.8. x
28
- - name : install sympy (latest stable version )
29
- run : python -m pip install ipython sympy
27
+ python-version : 3.x
28
+ - name : install sympy (latest stable)
29
+ run : python -m pip install sympy
30
30
- name : perform unit testing
31
31
run : python -m unittest
32
32
sympy_stable-macos :
33
33
runs-on : macos-latest
34
34
steps :
35
35
- run : echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
36
36
- name : checkout repository
37
- uses : actions/checkout@v2
37
+ uses : actions/checkout@v4.2.2
38
38
- name : install python
39
- uses : actions/setup-python@v4
39
+ uses : actions/setup-python@v5.3.0
40
40
with :
41
- python-version : 3.8. x
42
- - name : install sympy (latest stable version )
43
- run : python -m pip install ipython sympy
41
+ python-version : 3.x
42
+ - name : install sympy (latest stable)
43
+ run : python -m pip install sympy
44
44
- name : perform unit testing
45
45
run : python -m unittest
46
46
sympy_earliest-ubuntu :
47
47
runs-on : ubuntu-20.04
48
48
steps :
49
49
- run : echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
50
50
- name : checkout repository
51
- uses : actions/checkout@v2
51
+ uses : actions/checkout@v4.2.2
52
52
- name : install python
53
- uses : actions/setup-python@v4
53
+ uses : actions/setup-python@v5.3.0
54
54
with :
55
- python-version : 3.8.x
56
- - name : install sympy (earliest supported version )
57
- run : python -m pip install ipython sympy==1.2
55
+ python-version : 3.6.7
56
+ - name : install sympy (earliest supported)
57
+ run : python -m pip install sympy==1.9
58
58
- name : perform unit testing
59
59
run : python -m unittest nrpylatex.tests.test_parse_latex
60
60
sympy_development-ubuntu :
61
61
runs-on : ubuntu-latest
62
62
steps :
63
63
- run : echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
64
64
- name : checkout repository
65
- uses : actions/checkout@v2
65
+ uses : actions/checkout@v4.2.2
66
66
- name : install python
67
- uses : actions/setup-python@v4
67
+ uses : actions/setup-python@v5.3.0
68
68
with :
69
- python-version : 3.8.x
70
- - name : install ipython
71
- run : python -m pip install ipython
72
- - name : install sympy (latest development version)
69
+ python-version : 3.x
70
+ - name : install sympy (latest development)
73
71
run : python -m pip install -U git+https://github.com/sympy/sympy/
74
72
- name : perform unit testing
75
73
run : python -m unittest
@@ -78,16 +76,16 @@ jobs:
78
76
steps :
79
77
- run : echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
80
78
- name : checkout repository
81
- uses : actions/checkout@v2
79
+ uses : actions/checkout@v4.2.2
82
80
- name : install python
83
- uses : actions/setup-python@v4
81
+ uses : actions/setup-python@v5.3.0
84
82
with :
85
- python-version : 3.8. x
83
+ python-version : 3.x
86
84
- name : clone nrpy repository
87
85
run : git clone https://github.com/nrpy/nrpy.git
88
86
- name : install dependencies
89
- run : cd nrpy && pip install -r requirements-dev .txt
90
- - name : upgrade nrpylatex
87
+ run : cd nrpy && pip install -r requirements.txt
88
+ - name : upgrade nrpylatex to development
91
89
run : python -m pip install git+https://github.com/nrpy/nrpylatex.git -U
92
90
- name : perform unit testing
93
91
run : cd nrpy && python nrpy/equations/general_relativity/nrpylatex/test_parse_BSSN.py
0 commit comments