From 136bb9d8aebc2e4605f80214c780b0505829c3df Mon Sep 17 00:00:00 2001 From: evazion Date: Sat, 27 Jun 2020 19:55:49 -0500 Subject: [PATCH] ci: fix codecov.io uploader not working. We need to check out the full repo so the codecov.io uploader can detect the branch and commit hash. --- .github/workflows/test.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3790dd084..4dd39cc50 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -65,15 +65,17 @@ jobs: POSTGRES_PASSWORD: danbooru steps: - - name: Check out code - uses: actions/checkout@v2 - - name: Install OS dependencies run: | apt-get update - apt-get -y install --no-install-recommends build-essential ruby ruby-dev ruby-bundler git nodejs yarnpkg webpack ffmpeg mkvtoolnix libvips-dev libxml2-dev libxslt-dev zlib1g-dev postgresql-server-dev-all wget curl + apt-get -y install --no-install-recommends build-essential ruby ruby-dev ruby-bundler git nodejs yarnpkg webpack ffmpeg mkvtoolnix libvips-dev libxml2-dev libxslt-dev zlib1g-dev postgresql-server-dev-all wget curl git ln -sf /usr/bin/yarnpkg /usr/bin/yarn + - name: Check out code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install Ruby dependencies run: BUNDLE_DEPLOYMENT=true bundle install --jobs 4