Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added github action to run on macos-11 #11

Merged
merged 1 commit into from
Sep 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/unittest_pytest_coverage_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,27 @@ jobs:
- name: pytest
run: env python3 setup.py run_pytest --parallel --coverage

macos-11_test:
needs: pep8_check
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: check all modules available
run: env python3 setup.py check_modules
- name: install pfu
run: sudo python3 setup.py install
- name: run pfu
run: |
which pfu
pfu -h
- name: unittest
run: env python3 setup.py run_unittest
- name: install dependencies via pip3
run: pip3 install wheel pytest pytest-cov pytest-xdist
- name: pytest
run: env python3 setup.py run_pytest --parallel --coverage

windows_test:
needs: pep8_check
strategy:
Expand Down