Skip to content

Commit

Permalink
Fix GH actions
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro committed Dec 13, 2020
1 parent 39250c9 commit 8e6d08f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
job:
- dep: true
glide: false
cov: true
Expand All @@ -20,7 +21,7 @@ jobs:
glide: true
cov: false
name: unit-tests with glide
name: ${{ matrix.name }}
name: ${{ matrix.job.name }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -31,7 +32,7 @@ jobs:
- name: Install dependencies and tools
run: |
cd $PROJECT
make install-ci USE_DEP=${{ matrix.dep }} USE_GLIDE=${{ matrix.glide }}
make install-ci USE_DEP=${{ matrix.job.dep }} USE_GLIDE=${{ matrix.job.glide }}
- name: Run tests
run: |
cd $PROJECT
Expand All @@ -42,4 +43,4 @@ jobs:
file: cover.out
fail_ci_if_error: true
verbose: true
if: matrix.cov == 'true'
if: matrix.job.cov == 'true'

0 comments on commit 8e6d08f

Please sign in to comment.