This approach is working:
@keyframes test-7 { each(range(7), { @percent: (100 / 7 * @value * 1%); @{percent} { a: b; } }) }