Skip to content

Commit

Permalink
github actions - julia 1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wookay committed Jan 1, 2024
1 parent 75943d9 commit e35bf0e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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()'
5 changes: 5 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e35bf0e

Please sign in to comment.