Skip to content

Commit 8745b2b

Browse files
committed
updated main.yaml to use latest dependencies
1 parent 6924337 commit 8745b2b

File tree

1 file changed

+30
-32
lines changed

1 file changed

+30
-32
lines changed

.github/workflows/main.yaml

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,73 @@
1-
name: CI
1+
name: Python CI
22
on: [push]
33
jobs:
44
sympy_stable-ubuntu:
55
runs-on: ubuntu-latest
66
steps:
77
- run: echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
88
- name: checkout repository
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v4.2.2
1010
- name: install python
11-
uses: actions/setup-python@v4
11+
uses: actions/setup-python@v5.3.0
1212
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
1616
- name: perform unit testing
1717
run: python -m unittest
1818
sympy_stable-windows:
1919
runs-on: windows-latest
2020
steps:
2121
- run: echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
2222
- name: checkout repository
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4.2.2
2424
- name: install python
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v5.3.0
2626
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
3030
- name: perform unit testing
3131
run: python -m unittest
3232
sympy_stable-macos:
3333
runs-on: macos-latest
3434
steps:
3535
- run: echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
3636
- name: checkout repository
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v4.2.2
3838
- name: install python
39-
uses: actions/setup-python@v4
39+
uses: actions/setup-python@v5.3.0
4040
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
4444
- name: perform unit testing
4545
run: python -m unittest
4646
sympy_earliest-ubuntu:
4747
runs-on: ubuntu-20.04
4848
steps:
4949
- run: echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
5050
- name: checkout repository
51-
uses: actions/checkout@v2
51+
uses: actions/checkout@v4.2.2
5252
- name: install python
53-
uses: actions/setup-python@v4
53+
uses: actions/setup-python@v5.3.0
5454
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
5858
- name: perform unit testing
5959
run: python -m unittest nrpylatex.tests.test_parse_latex
6060
sympy_development-ubuntu:
6161
runs-on: ubuntu-latest
6262
steps:
6363
- run: echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
6464
- name: checkout repository
65-
uses: actions/checkout@v2
65+
uses: actions/checkout@v4.2.2
6666
- name: install python
67-
uses: actions/setup-python@v4
67+
uses: actions/setup-python@v5.3.0
6868
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)
7371
run: python -m pip install -U git+https://github.com/sympy/sympy/
7472
- name: perform unit testing
7573
run: python -m unittest
@@ -78,16 +76,16 @@ jobs:
7876
steps:
7977
- run: echo "checking out branch ${{ github.ref }} on ${{ github.repository }}."
8078
- name: checkout repository
81-
uses: actions/checkout@v2
79+
uses: actions/checkout@v4.2.2
8280
- name: install python
83-
uses: actions/setup-python@v4
81+
uses: actions/setup-python@v5.3.0
8482
with:
85-
python-version: 3.8.x
83+
python-version: 3.x
8684
- name: clone nrpy repository
8785
run: git clone https://github.com/nrpy/nrpy.git
8886
- 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
9189
run: python -m pip install git+https://github.com/nrpy/nrpylatex.git -U
9290
- name: perform unit testing
9391
run: cd nrpy && python nrpy/equations/general_relativity/nrpylatex/test_parse_BSSN.py

0 commit comments

Comments
 (0)