test/first #8

Merged
jkuhl merged 24 commits from test/first into develop 2025-12-01 18:07:00 +01:00
2 changed files with 25 additions and 1 deletions
Showing only changes of commit b837501881 - Show all commits

correct test due to new requirement of function

Justus Kuhlmann 2025-12-01 12:25:06 +01:00
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

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")