containers / podman-compose

a script to run docker-compose.yml using podman
GNU General Public License v2.0
4.86k stars 465 forks source link

Add supoort for enabling GPU access #920

Closed mokeyish closed 1 month ago

mokeyish commented 2 months ago

closes #919

mokeyish commented 2 months ago

@p12tic I looked at the existing unit tests and it was a bit difficult to understand. It seems to be output after execution. But Github Actions does not have a GPU and cannot be tested.

p12tic commented 2 months ago

@mokeyish Tests in pytests/test_container_to_args.py don't actually run any containers.

The test structure is as follows:

With such tests any feature of podman-compose can be tested without any requirements from hardware.

p12tic commented 2 months ago

So in GPU tests I would expect tests that check whether correct GPU-related options are added to podman_args.