1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 01:43:29 +01:00

Run x86 integration tests in GitHub actions

This commit is contained in:
Roman Zeyde 2023-06-29 19:50:11 +03:00
parent 883ebc94de
commit e3b2eb3e4b
2 changed files with 18 additions and 18 deletions

View File

@ -32,11 +32,11 @@ task:
test_script:
tests/run.sh
task:
name: integration [x86]
container:
dockerfile: Dockerfile.ci
docker_arguments:
ARCH: x86_64
test_script:
tests/run.sh
# task:
# name: integration [x86]
# container:
# dockerfile: Dockerfile.ci
# docker_arguments:
# ARCH: x86_64
# test_script:
# tests/run.sh

View File

@ -42,13 +42,13 @@ jobs:
- name: Clippy
run: cargo clippy -- -D warnings
# integration:
# name: Integration
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Build
# run: docker build -f Dockerfile.ci . --rm -t electrs:tests
# - name: Test
# run: docker run -v $PWD/contrib/:/contrib -v $PWD/tests/:/tests --rm electrs:tests bash /tests/run.sh
integration:
name: Integration
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: docker build -f Dockerfile.ci . --rm -t electrs:tests
- name: Test
run: docker run -v $PWD/contrib/:/contrib -v $PWD/tests/:/tests --rm electrs:tests bash /tests/run.sh