Skip to content

Merge pull request #184 from RazvanN7/version_linux #110

Merge pull request #184 from RazvanN7/version_linux

Merge pull request #184 from RazvanN7/version_linux #110

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
paths:
- 'dlib/**'
- 'dub.json'
- '.github/workflows/**'
pull_request:
branches: [ master ]
paths:
- 'dlib/**'
- 'dub.json'
- '.github/workflows/**'
jobs:
test:
name: Dub Tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
dc: [dmd-latest, ldc-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- name: Run tests
run: dub test --build=unittest-cov
- name: Run code coverage
if: success()
run: |
curl https://codecov.io/bash > codecov.sh
bash codecov.sh