Fix errors when making the package #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci_it | |
on: | |
push: | |
pull_request: | |
branches: | |
- '*' | |
env: | |
TEST_TAG: tugraph/tugraph-ut:test | |
# Issues TODO: | |
# 1. Seems GitHub limits the output passed among jobs up to 1MB, | |
# so we can't break down the entire workflow to multi-jobs. | |
# 2. For submodules in the repo inside the single job, the git binary in docker image | |
# should be upgrade to at least 2.18 in order to use actions/checkout@v3 | |
# inside docker instead of running ut and it via Dockerfile. | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
with: | |
buildkitd-flags: --debug | |
- name: Integration Test | |
uses: docker/build-push-action@v4 | |
with: | |
file: ci/gh-actions/ubuntu-latest/Dockerfile | |
context: . | |
tags: ${{ env.TEST_TAG }} | |
build-args: | | |
BUILD_TYPE=no_asan | |
TEST_TYPE=it | |
secrets: | | |
"CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }}" | |
- name: Check disk space | |
if: always() | |
run: df -h |