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 6c8d7ba commit 66afc37
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 37 deletions.
28 changes: 25 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 @@ -29,8 +52,7 @@ jobs:
pip install .[all]
- name: Test
run: |
pip install pytest
pytest -vsx tests
make test
- name: Run examples
run: |
python getting_started.py
Expand All @@ -41,6 +63,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 66afc37

Please sign in to comment.