From fb12dcd2a961e8db2f8934054e00b98e9a0474d3 Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Mon, 17 Oct 2022 20:45:37 +1100 Subject: [PATCH] CI --- .github/workflows/CI.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..d775911 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,31 @@ +name: CI +on: + pull_request: + branches: + - master + push: + branches: + - master + tags: '*' +jobs: + test: + name: julia ${{ matrix.julia-version }} - ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + julia-version: ['1',] + os: ['ubuntu-latest',] + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.julia-version }} + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + if: ${{ matrix.julia-version == '1' && matrix.os == 'ubuntu-latest' }} + - uses: codecov/codecov-action@v1 + if: ${{ matrix.julia-version == '1' && matrix.os == 'ubuntu-latest' }} + with: + file: lcov.info \ No newline at end of file