correct test due to new requirement of function

This commit is contained in:
Justus Kuhlmann 2025-12-01 12:25:06 +01:00
commit b837501881
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6
2 changed files with 25 additions and 1 deletions

24
.github/workflows/pytest.yaml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Pytest
jobs:
test:
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
show-progress: true
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install corrlib
run: uv sync --locked --all-extras --dev
- name: Run tests
# For example, using `pytest`
run: uv run pytest tests

View file

@ -14,4 +14,4 @@ def test_toml_check_measurement_data():
"names": ['list', 'of', 'names']
}
}
t.check_measurement_data(measurements)
t.check_measurement_data(measurements, "sfcf")