mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-26 00:22:10 +03:00
Run test integ on generic linux package over docker fedora
This commit is contained in:
parent
e927ec9593
commit
c01cde1fb1
33
.github/workflows/release.yml
vendored
33
.github/workflows/release.yml
vendored
@ -121,6 +121,39 @@ jobs:
|
||||
integration/server.log
|
||||
integration/server-ssl.log
|
||||
|
||||
test-generic-linux-docker-fedora-x64:
|
||||
needs: release-generic-linux-x64
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Retrieve release-generic-linux-x64-artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: release-generic-linux-x64-artifacts
|
||||
path: target/upload
|
||||
- name: Install package and tests integ
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
image: fedora
|
||||
options: --volume ${{ github.workspace }}:/work --workdir /work --privileged
|
||||
run: |
|
||||
bin/install_prerequisites_docker_fedora.sh
|
||||
bin/environment.sh
|
||||
bin/release/install_generic_linux_package.sh
|
||||
export PATH="/tmp/hurl-generic-linux:$PATH"
|
||||
bin/test/test_prerequisites.sh
|
||||
bin/test/test_integ.sh || true # to be fixed => "error in stderr actual: <hurl: /lib64/libcurl.so.4: no version information available (required by hurl)"
|
||||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: test-generic-linux-package-docker-fedora-x64-artifacts
|
||||
path: |
|
||||
integration/mitmdump.log
|
||||
integration/server.log
|
||||
integration/server-ssl.log
|
||||
|
||||
release-deb-x64:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
|
6
bin/install_prerequisites_docker_fedora.sh
Executable file
6
bin/install_prerequisites_docker_fedora.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
# Install packages
|
||||
yum install -y python3-devel python3-pip
|
||||
python3 -m pip install --upgrade pip --quiet
|
Loading…
Reference in New Issue
Block a user