How to use parallel matrix with parallel <concurrency number>

I would like to use parallel matrix to be able to run same script with a different configuration and apply parallel to be able to run each script with parameters to speed up CI. Please see my yml.code

how it works know:

run_simple_test:
  stage: test
  image: python
  parallel: 3
  before_script:
    - python3 --version
    - python3 -m venv env
    - source env/bin/activate
    - pip install pytest-test-groups
  script:
    python -m pytest -v test.py -s --test-group-count $CI_NODE_TOTAL --test-group=$CI_NODE_INDEX

how I would like to see it:

run_simple_test:
  stage: test
  image: python
  parallel: 3
    matrix:
      - TAG : [WIN, LIN]
 tags:
      - $TAG
  script:
    python -m pytest -v test.py -s --test-group-count $CI_NODE_TOTAL --test-group=$CI_NODE_INDEX