From e35bf0e09697ecce68d53de575a9bed8690c4e1c Mon Sep 17 00:00:00 2001 From: WooKyoung Noh Date: Mon, 1 Jan 2024 21:12:19 +0900 Subject: [PATCH] github actions - julia 1.10.0 --- .github/workflows/actions.yml | 28 ++++++++++++++++++++-------- test/runtests.jl | 5 +++++ 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index bb16fd2..38057a1 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -7,13 +7,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - julia-version: [1.9.3] + julia-version: [1.10.0] julia-arch: [x64] os: [ubuntu-latest] include: - julia-version: nightly os: ubuntu-latest - - julia-version: 1.8.5 + - julia-version: 1.6.7 os: ubuntu-latest services: @@ -65,12 +65,24 @@ jobs: MYSQL_HOST: 127.0.0.1 MYSQL_ROOT_PASWORD: run: | - julia --project=. -e 'using Pkg; Pkg.test(coverage=true)' + julia --project=. -e 'using Pkg; Pkg.test()' - - name: Coverage - if: matrix.julia-version == '1.9.3' && github.event.ref == 'refs/heads/master' + RunForMacOS: + needs: Test + if: github.event.ref == 'refs/heads/master' + runs-on: macos-latest + steps: + - uses: actions/checkout@master + - name: runtests run: | - julia --project=. -e 'using Pkg; Pkg.add("Coverage"); using Coverage; cov = Coverage.process_folder(); mkdir("coverage"); Coverage.LCOV.writefile("coverage/lcov.info", cov)' + julia --project=. -e 'using Pkg; Pkg.test()' - - uses: codecov/codecov-action@v1 - if: matrix.julia-version == '1.9.3' && github.event.ref == 'refs/heads/master' + RunForWindows: + needs: RunForMacOS + if: github.event.ref == 'refs/heads/master' + runs-on: windows-latest + steps: + - uses: actions/checkout@master + - name: runtests + run: | + julia --project=. -e 'using Pkg; Pkg.test()' diff --git a/test/runtests.jl b/test/runtests.jl index 0e2d602..19e8b3d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -7,6 +7,11 @@ for db in ["hive", "jdbc", "odbc"] end if haskey(ENV, "CI") + if Sys.isapple() || Sys.iswindows() + for db in ["mysql", "postgresql"] + push!(ignores, joinpath("adapters", db)) + end + end end # LibPQ v0.11.1