From fbf562ec607bd61e8cef3edfab398e85bd672a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Fri, 21 Jul 2023 16:42:06 +0200 Subject: [PATCH] Use the container in CI instead of tox-github-action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .github/workflows/tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b20fa5ebd..4166c4a75 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,12 +32,13 @@ jobs: unit_test: name: Unit tests + container: fedorapython/fedora-python-tox:latest steps: - uses: actions/checkout@v3 + - name: Mark the directory as safe for git + run: git config --global --add safe.directory $PWD - name: Run tests - uses: fedora-python/tox-github-action@main - with: - tox_env: ${{ matrix.tox_env }} + run: tox -e ${{ matrix.tox_env }} strategy: matrix: tox_env: