forked from xmlsec/python-xmlsec
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (28 loc) · 862 Bytes
/
macosx.yml
File metadata and controls
28 lines (28 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: MacOS
on: [push, pull_request]
jobs:
macosx:
runs-on: macos-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v1
- name: Install build dependencies
run: |
pip install --upgrade pip setuptools wheel
brew install libxml2 libxmlsec1 pkg-config
- name: Set environment variables
shell: bash
run: |
echo ::set-env name=PKGVER::$(python setup.py --version)
- name: Build macosx_x86_64 wheel
run: |
python setup.py bdist_wheel
- name: Install test dependencies
run: |
pip install --upgrade -r requirements-test.txt
pip install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
- name: Run tests
run: |
pytest -v --color=yes