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.
This commit is contained in:
10
.github/workflows/test.yaml
vendored
10
.github/workflows/test.yaml
vendored
@@ -65,15 +65,17 @@ jobs:
|
|||||||
POSTGRES_PASSWORD: danbooru
|
POSTGRES_PASSWORD: danbooru
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install OS dependencies
|
- name: Install OS dependencies
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
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
|
ln -sf /usr/bin/yarnpkg /usr/bin/yarn
|
||||||
|
|
||||||
|
- name: Check out code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Install Ruby dependencies
|
- name: Install Ruby dependencies
|
||||||
run: BUNDLE_DEPLOYMENT=true bundle install --jobs 4
|
run: BUNDLE_DEPLOYMENT=true bundle install --jobs 4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user