Simplify coverage and lint actions #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: coverage-lint | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
tests: | |
name: Coverage and Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.11 | |
- name: Install from source | |
run: pip install .[test] | |
- name: Run Linting | |
uses: astral-sh/ruff-action@v3 |