diff --git a/.github/workflows/temp.yaml b/.github/workflows/temp.yaml new file mode 100644 index 000000000..0d84d36c3 --- /dev/null +++ b/.github/workflows/temp.yaml @@ -0,0 +1,30 @@ +name: validate oci go tests on runc + +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + oci-validation-go-runc: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Setup Rust toolchain and cache + uses: actions-rust-lang/setup-rust-toolchain@v1 + - name: Install just + uses: taiki-e/install-action@just + - uses: actions/setup-go@v4 + with: + go-version: '1.20' + cache: true + cache-dependency-path: tests/oci-runtime-tests/src/github.com/opencontainers/runtime-tools/go.sum + - name: Run integration tests + run: just test-oci + diff --git a/scripts/oci_integration_tests.sh b/scripts/oci_integration_tests.sh index c96a110e6..f0f0d7c44 100755 --- a/scripts/oci_integration_tests.sh +++ b/scripts/oci_integration_tests.sh @@ -2,7 +2,7 @@ ROOT=$(git rev-parse --show-toplevel) -RUNTIME=${1:-.}/youki +RUNTIME=runc OCI_TEST_DIR=${ROOT}/tests/oci-runtime-tests/src/github.com/opencontainers/runtime-tools PATTERN=${2:-.} cd $OCI_TEST_DIR @@ -126,7 +126,6 @@ for case in "${test_cases[@]}"; do continue; fi cat $logfile - exit 1 fi sleep 1 done