From 984173341aaba3fd15297f50964bd094330b034d Mon Sep 17 00:00:00 2001 From: "J. Sebastian Paez" Date: Sun, 8 Dec 2024 07:57:33 -0600 Subject: [PATCH] ci: attempt to fix test docker build --- .github/workflows/tests.yml | 4 ++++ Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0459249..c0caf72 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,5 +43,9 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false + - name: Set up Docker Buildx + if: runner.os == 'Linux' + uses: docker/setup-buildx-action@v3 - name: Check Build + if: runner.os == 'Linux' run: make build diff --git a/Makefile b/Makefile index 1827613..734535a 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ build-sdist: build-docker: uv run --with build python -m build --wheel --outdir dist . docker build -t $(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG) . - docker run --rm -it $(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG) mokapot --help + docker run --rm $(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG) mokapot --help pre-commit: pre-commit run --all-files