Skip to content

Commit

Permalink
CI: make non-ascii locale available for tests
Browse files Browse the repository at this point in the history
and move apt package install to its own section
  • Loading branch information
ploxiln committed Dec 9, 2021
1 parent 2f60ecd commit d2cb456
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,22 @@ jobs:
container: "${{matrix.imgtag}}"
steps:
- uses: actions/checkout@v2
- name: System dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -q -y update
apt-get -q -y install libkrb5-dev krb5-admin-server \
krb5-kdc krb5-user krb5-multidev \
openssh-server locales
# make non-ascii locale available for some tests
echo "ru_RU.UTF-8 UTF-8" >>/etc/locale.gen
locale-gen
- name: Python dependencies
run: |
pip install -r dev-requirements.txt
pip install cryptography==${{matrix.crypto_ver}} PyNaCl
if [ ${{matrix.imgtag}} = python:2.7-buster ] || \
[ ${{matrix.imgtag}} = python:3.6-buster ]; then
export DEBIAN_FRONTEND=noninteractive
apt-get -q -y update
apt-get -q -y install libkrb5-dev krb5-admin-server \
krb5-kdc krb5-user krb5-multidev openssh-server
pip install gssapi==1.5.1 pyasn1==0.4.5 k5test==0.9.2
fi
pip install -e .
Expand Down

0 comments on commit d2cb456

Please sign in to comment.