From e13a644559da3ad2d89dc876d214f073876df6a1 Mon Sep 17 00:00:00 2001 From: lwthiker Date: Fri, 4 Mar 2022 18:57:13 +0200 Subject: [PATCH] Add GitHub action steps to build and run the tests --- .github/workflows/build-and-test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index b485a9d..45ccc3e 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -29,3 +29,13 @@ jobs: push: false context: firefox/ tags: curl-impersonate-firefox:latest + + - name: Build the tests container + uses: docker/build-push-action@v2 + with: + push: false + context: tests/ + tags: curl-impersonate-tests:latest + + - name: Run the tests + run: docker run --rm curl-impersonate-tests --log-cli-level DEBUG