Skip to content

Commit

Permalink
Add Github Actions workflow for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dev0x13 committed Jul 13, 2023
1 parent 41e1588 commit e6b342c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- master
pull_request:

jobs:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: macOS CI

on:
workflow_dispatch:
push:
branches:
- master
pull_request:

jobs:
build-and-test:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true

- name: Build wheel
run: python3 -m pip wheel .

- name: Install wheel
run: python3 -m pip install *.whl

- name: Install test requirements
run: python3 -m pip install -r test/requirements.txt

- name: Run tests
run: python3 -m pytest test/
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- master
pull_request:

jobs:
Expand Down

0 comments on commit e6b342c

Please sign in to comment.