Skip to content

Merge branch 'test_basesections' of https://github.com/nomad-coe/elec… #1027

Merge branch 'test_basesections' of https://github.com/nomad-coe/elec…

Merge branch 'test_basesections' of https://github.com/nomad-coe/elec… #1027

name: test
on: [push]
jobs:
install-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install --upgrade pip
pip install .[dev]
pip install types-PyYAML
- name: mypy
run: |
python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional *parsers tests
- name: Test with pytest
if: success() || failure()
run: |
python -m pytest -sv tests
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1