Skip to content

MRG: Merge pull request #10 from AndreaBlengino/dev #12

MRG: Merge pull request #10 from AndreaBlengino/dev

MRG: Merge pull request #10 from AndreaBlengino/dev #12

Workflow file for this run

name: macOS Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [macos-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements/common.txt
pip install -r requirements/tests.txt
- name: Fetch
uses: actions/checkout@master
- name: Test
run: |
python -m pytest --verbose --disable-pytest-warnings --cov=gearpy --cov-report=xml:macos_coverage.xml -nauto
- name: Upload
uses: codecov/codecov-action@v2
with:
files: ./macos_coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}