toml, json #6
This file contains hidden or 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: Python CI | |
on: | |
push: | |
branches: [main, devel] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest pytest-cov toml flake8 black mypy lxml | |
pip install -e . | |
- name: Run tests | |
run: sh tests/run_tests_with_coverage.sh | |
- name: Run mypy | |
run: mypy blob_descriptor || true | |
- name: Run flake8 | |
run: flake8 --ignore=E501 || true |