Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8ad0c5

Browse files
authored
Fix CI images after ubuntu-latest update
Keep 20.04 for py3.6 testing. Replace the deprecated enchant package with enchant-2.
1 parent 88e74b9 commit b8ad0c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: [push, pull_request]
66
jobs:
77
distros:
88
name: "Ubuntu with Python ${{ matrix.python-version }}"
9-
runs-on: "ubuntu-latest"
9+
runs-on: "ubuntu-20.04"
1010
strategy:
1111
fail-fast: false
1212
matrix:
@@ -18,7 +18,7 @@ jobs:
1818
run: |
1919
set -ex
2020
sudo apt update
21-
sudo apt install -y ldap-utils slapd enchant libldap2-dev libsasl2-dev apparmor-utils
21+
sudo apt install -y ldap-utils slapd enchant-2 libldap2-dev libsasl2-dev apparmor-utils
2222
- name: Disable AppArmor
2323
run: sudo aa-disable /usr/sbin/slapd
2424
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/tox-fedora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
- doc
3333

3434
# Use GitHub's Linux Docker host
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)