Skip to content

Commit

Permalink
adding github actions for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jw2249a committed Jan 7, 2024
1 parent 4d232d8 commit cac8393
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run tests

on:
push:
branches:
- master
- main
pull_request:

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.0', 'nightly']
julia-arch: [x64]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
# with:
# annotate: true
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
PooledArrays = "2dfb63ee-cc39-5dd5-95bd-886bf059d720"
StringDistances = "88034a9c-02f8-509d-84a9-84ec65e18404"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3 changes: 2 additions & 1 deletion src/test/runtests.jl → test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

using FastLink
using Tests
using Test

@testset "FastLink.jl" begin
1 === 1
Expand Down

0 comments on commit cac8393

Please sign in to comment.