Skip to content

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox

Add GitHub action steps to build and run the tests

lwthikere13a644559da
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