Skip to content
Snippets Groups Projects
Commit 62335b59 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

copy/paste most of the windows ci config, see what happens

parent 7b479647
No related branches found
No related tags found
2 merge requests!183CircleCI-based macOS CI,!176Add macOS CI
......@@ -4,7 +4,60 @@ on:
- "push"
jobs:
unit-tests:
macos-unit-tests:
runs-on: "macos-latest"
strategy:
matrix:
python-version:
- "2.7"
# Get tags not fetched by the checkout action, needed for auto-versioning.
- name: "Finish checkout"
run: |
git fetch --tags
- name: "Upgrade Pip"
run: |
python -m pip install -v --upgrade pip
- name: "Install CI Dependencies"
run: |
python -m pip install -v wheel coverage
- name: "Install Test Dependencies"
run: |
python -m pip install -v -r test-requirements.txt
- name: "Install ZKAPAuthorizer"
run: |
python -m pip install -v ./
- name: "Dump Python Environment"
run: |
pip freeze
- name: "Run Tests"
env:
MAGIC_FOLDER_HYPOTHESIS_PROFILE: "ci"
run: |
python -m coverage run --debug=config -m twisted.trial _zkapauthorizer
- name: "Convert Coverage"
run: |
echo "Files:"
dir
echo "Combining"
coverage combine
echo "Reporting"
coverage report
echo "Converting to XML"
coverage xml
- uses: codecov/codecov-action@v1
with:
file: "./coverage.xml"
windows-unit-tests:
runs-on: "windows-latest"
strategy:
matrix:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment