From 600692b40a33ce3bbd2a3f852d9390b4163c4124 Mon Sep 17 00:00:00 2001 From: Daniel Mohr Date: Wed, 29 Sep 2021 18:32:22 +0200 Subject: [PATCH] added github action to run on macos-11 --- .../unittest_pytest_coverage_doc.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/unittest_pytest_coverage_doc.yml b/.github/workflows/unittest_pytest_coverage_doc.yml index ddba203..dc2c083 100644 --- a/.github/workflows/unittest_pytest_coverage_doc.yml +++ b/.github/workflows/unittest_pytest_coverage_doc.yml @@ -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: