Skip to content

Commit

Permalink
Cleanup github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Nov 22, 2024
1 parent 38b3993 commit 259e755
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 37 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@ on:
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -e .[test]
- name: Lint
run: |
make lint
- name: Mypy
run: |
make mypy
build:
runs-on: ubuntu-latest
strategy:
Expand All @@ -27,10 +50,10 @@ jobs:
run: |
pip install setuptools
pip install .[all]
pip install .[test]
- name: Test
run: |
pip install pytest
pytest -vsx tests
make test
- name: Run examples
run: |
python getting_started.py
Expand All @@ -41,6 +64,6 @@ jobs:
done
- name: Install from dist
run: |
python -m build
make build
pip install dist/*.tar.gz
pip install dist/*.whl
34 changes: 0 additions & 34 deletions .github/workflows/lint.yml

This file was deleted.

0 comments on commit 259e755

Please sign in to comment.