Use configurable binaries directory in the tests

Locate curl-impersonate and libcurl-impersonate in a directory which is
configurable from the command line instead of looking for them in the
current directory. '--install-dir' is passed to pytest, where a 'bin'
and 'lib' directories are expected with (lib)curl-impersonate.

Rename the Actions file for the Docker build to allow the creation of
addition Action for native builds.
This commit is contained in:
lwthiker
2022-04-12 16:48:38 +03:00
parent 79f8601a30
commit facd6e5551
5 changed files with 63 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
name: Build and test
name: Docker images
on:
push:
@@ -10,7 +10,7 @@ on:
jobs:
build-and-test:
name: Build curl-impersonate and run the tests
name: Build curl-impersonate Docker images and run the tests
runs-on: ubuntu-latest
services:
# A local registry is needed to push the build images to because we use