Skip to content

Commit

Permalink
workflows: run CI tests on a macOs runner (#4)
Browse files Browse the repository at this point in the history
Fixes #1 

### Added
- Add a CI job to run the build and tests on a macOs 13 runner

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
  • Loading branch information
virtualtam committed Jun 5, 2023
1 parent a98a570 commit e92dc33
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request: {}

jobs:
lint_and_test:
linux_lint_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -39,3 +39,29 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

macos_test:
runs-on: macos-13
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.8"]
steps:
- name: Checkout
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 dev-requirements.txt
- name: Install fnv-c as editable
run: |
python3 setup.py develop
- name: Run tests
run: |
invoke test --coverage

0 comments on commit e92dc33

Please sign in to comment.