Skip to content

Commit 36f8404

Browse files
committed
Update CI actions.
* Scripting should use apt-get instead of apt * Update action versions * Update SPEC0 versions of Matplotlib that are tested * Replace deprecated ::set-output with $GITHUB_OUTPUT.
1 parent 50c1083 commit 36f8404

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
python-version: [3.12, 3.13]
21-
matplotlib-version: [ "3.7.5", "3.10.0" ]
21+
matplotlib-version: [ "3.8.4", "3.10.6" ]
2222

2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
2525

2626
- name: Set up Python
2727
uses: actions/setup-python@v5
@@ -31,8 +31,8 @@ jobs:
3131

3232
- name: Install system libraries
3333
run: |
34-
sudo apt update
35-
xargs -a .github/workflows/requirements-test-apt.txt sudo apt install -y
34+
sudo apt-get update
35+
xargs -a .github/workflows/requirements-test-apt.txt sudo apt-get install -y
3636
3737
- name: Install test environment
3838
run: |

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818

1919
- name: Set up Python
2020
id: setup

.github/workflows/matplotlib-main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818

1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: 3.12
22+
python-version: 3.13
2323
architecture: x64
2424

2525
- name: Install system libraries
2626
run: |
27-
sudo apt update
28-
xargs -a .github/workflows/requirements-test-apt.txt sudo apt install -y
27+
sudo apt-get update
28+
xargs -a .github/workflows/requirements-test-apt.txt sudo apt-get install -y
2929
3030
- name: Install test environment
3131
run: |
@@ -35,7 +35,7 @@ jobs:
3535
- name: Find Matplotlib version
3636
id: mpl-main-version
3737
run: |
38-
echo "::set-output name=matplotlib-version::$(python -c 'import matplotlib;print(matplotlib.__version__)')"
38+
echo "matplotlib-version=$(python -c 'import matplotlib;print(matplotlib.__version__)')" >> $GITHUB_OUTPUT
3939
4040
- name: Run unit tests
4141
run: pytest --cov-report=xml

0 commit comments

Comments
 (0)