Skip to content

Commit bb5f446

Browse files
authored
Update ci.yml
1 parent 4ec323a commit bb5f446

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,33 @@ permissions:
99
jobs:
1010
distros:
1111
name: "Ubuntu with Python ${{ matrix.python-version }}"
12-
runs-on: "ubuntu-20.04"
12+
runs-on: ${{ matrix.os }}
1313
strategy:
1414
fail-fast: false
1515
matrix:
1616
python-version: ["3.10", "3.11", "pypy3"]
17+
os: ["ubuntu-latest", "macos-latest"]
1718
steps:
1819
- name: Checkout
19-
uses: "actions/checkout@v2"
20+
uses: "actions/checkout@v3"
2021
- name: Install apt dependencies
2122
run: |
2223
set -ex
2324
sudo apt update
2425
sudo apt install -y ldap-utils slapd enchant-2 libldap2-dev libsasl2-dev apparmor-utils
26+
if: runner.os == 'Linux'
2527
- name: Disable AppArmor
2628
run: sudo aa-disable /usr/sbin/slapd
29+
if: runner.os == 'Linux'
2730
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v2
31+
uses: actions/setup-python@v4
2932
with:
3033
python-version: ${{ matrix.python-version }}
3134
- name: "Install Python dependencies"
3235
run: |
3336
set -xe
3437
python -V
3538
python -m pip install --upgrade pip setuptools build
36-
python -m pip install --upgrade tox tox-gh-actions
3739
- name: "build python-ldap ${{ matrix.python-version }}"
3840
run: "python -m build"
3941
- name: Upload a Build Artifact

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy