Skip to content

Commit 08add84

Browse files
committed
CI needs recent mathics-core changes
In particular, it uses new error tags now put under General
1 parent 20b6a8b commit 08add84

2 files changed

Lines changed: 55 additions & 51 deletions

File tree

.github/workflows/macos.yml

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
---
12
name: Mathics3 Module PyICU (macOS)
23

34
on:
45
push:
5-
branches: [ master ]
6+
branches: [master]
67
pull_request:
78
branches: '**'
89

@@ -14,29 +15,30 @@ jobs:
1415
os: [macOS]
1516
python-version: ['3.13', '3.14']
1617
steps:
17-
- uses: actions/checkout@v5
18-
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v5
20-
with:
21-
python-version: ${{ matrix.python-version }}
22-
- name: Set ICU version
23-
run: |
24-
echo "PKG_CONFIG_PATH=$(brew --prefix icu4c)/lib/pkgconfig" >> $GITHUB_ENV
25-
- name: Install dependencies
26-
run: |
27-
brew install llvm
28-
python -m pip install --upgrade pip
29-
python -m pip install pytest
30-
# # Go over and comment out stuff when next Mathics3 core and Mathics-scanner are released
31-
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
32-
# git clone https://github.com/Mathics3/mathics-core
33-
# (cd mathics-core && pip3 install -e .[full])
34-
# (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
35-
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
36-
- name: Install Mathic3 PyICU Module
37-
run: |
38-
python -m pip install Mathics3 PyICU
39-
python -m pip install --no-build-isolation -e .
40-
- name: Test Mathics3 Module PyICU
41-
run: |
42-
make check
18+
- uses: actions/checkout@v5
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Set ICU version
24+
run: |
25+
echo "PKG_CONFIG_PATH=$(brew --prefix icu4c)/lib/pkgconfig" >> $GITHUB_ENV
26+
- name: Install dependencies
27+
run: |
28+
brew install llvm
29+
python -m pip install --upgrade pip
30+
python -m pip install pytest
31+
# # Go over and comment out stuff when next Mathics3 core and Mathics-scanner are released
32+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
33+
# We use recently-added message tags from mathics core.
34+
# Until next mathics-core release...
35+
git clone https://github.com/Mathics3/mathics-core
36+
(cd mathics-core && pip3 install -e .[full])
37+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
38+
- name: Install Mathic3 PyICU Module
39+
run: |
40+
python -m pip install Mathics3 PyICU
41+
python -m pip install --no-build-isolation -e .
42+
- name: Test Mathics3 PyICU Module
43+
run: |
44+
make check

.github/workflows/ubuntu.yml

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
---
12
name: Mathics3-Module-pyICU (ubuntu)
23

34
on:
45
push:
5-
branches: [ master ]
6+
branches: [master]
67
pull_request:
78
branches: '**'
89

@@ -13,26 +14,27 @@ jobs:
1314
matrix:
1415
python-version: ['3.12', '3.13', '3.14']
1516
steps:
16-
- uses: actions/checkout@v5
17-
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v5
19-
with:
20-
python-version: ${{ matrix.python-version }}
21-
- name: Install dependencies
22-
run: |
23-
sudo apt install libicu-dev
24-
python -m pip install --upgrade pip
25-
python -m pip install pytest
26-
# # Go over and comment out stuff when next Mathics3 core and Mathics-scanner are released
27-
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
28-
# git clone https://github.com/Mathics3/mathics-core
29-
# (cd mathics-core && pip3 install -e .[full])
30-
# (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
31-
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
32-
- name: install Mathic3 PyICU Module
33-
run: |
34-
python -m pip install Mathics3 PyICU
35-
python -m pip install --no-build-isolation -e .
36-
- name: Test Mathics3 PyICU Module
37-
run: |
38-
make check
17+
- uses: actions/checkout@v5
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
sudo apt install libicu-dev
25+
python -m pip install --upgrade pip
26+
python -m pip install pytest
27+
# # Go over and comment out stuff when next Mathics3 core and Mathics-scanner are released
28+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
29+
# We use recently-added message tags from mathics core.
30+
# Until next mathics-core release...
31+
git clone https://github.com/Mathics3/mathics-core
32+
(cd mathics-core && pip3 install -e .[full])
33+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
34+
- name: Install Mathic3 PyICU Module
35+
run: |
36+
python -m pip install Mathics3 PyICU
37+
python -m pip install --no-build-isolation -e .
38+
- name: Test Mathics3 PyICU Module
39+
run: |
40+
make check

0 commit comments

Comments
 (0)