Skip to content

Commit

Permalink
fix pytest, add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke-takase committed Apr 24, 2024
1 parent b940382 commit 2916686
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 22 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Tests

on:
push:
branches:
- master
pull_request:
types: [opened, reopened, synchronize]

jobs:
tests:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python: [3.9, 3.11]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Test
run: |
python3 -m pytest
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ grasp2alm.egg-info/
grasp2alm/__pycache__/
dist/
build/
docs/_build/
docs/_templates/
test/__pycache__
.pytest_cache/
Loading

0 comments on commit 2916686

Please sign in to comment.