Skip to content

Commit

Permalink
Refactor build workflow: rename test to build - move lint to build.
Browse files Browse the repository at this point in the history
  • Loading branch information
adri0 committed Mar 24, 2024
1 parent 0c67430 commit 1fdaa0a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 30 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/test.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Build

on:
push:
Expand Down Expand Up @@ -28,3 +28,22 @@ jobs:
- name: Test with pytest
run: |
pytest
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install dependencies
run: python -m pip install .[dev,test]
- name: Ruff check
run: ruff check
- name: Ruff format
run: ruff format --check
- name: Mypy
run: mypy
29 changes: 0 additions & 29 deletions .github/workflows/lint.yml

This file was deleted.

0 comments on commit 1fdaa0a

Please sign in to comment.