Skip to content

Commit

Permalink
Fix a bug in runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnebro committed Nov 27, 2024
1 parent e86be40 commit 641100d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 35 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@ name: Build
on: [push, pull_request]

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

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Julia
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/julia-buildpkg@latest
version: '1.10'

- name: Install dependencies
run: julia --project=. -e 'using Pkg; Pkg.instantiate()'

- name: Build package
run: julia --project=. -e 'using Pkg; Pkg.build()'
21 changes: 0 additions & 21 deletions .github/workflows/build2.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/unitTest2.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Test2
on: [push, pull_request]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using MetaJul
using Test

tsp_data_dir = joinpath(@__DIR__, "../..", "resources/tspDataFiles")
tsp_data_dir = joinpath(@__DIR__, "..", "resources/tspDataFiles")

# Utility functions

Expand Down

0 comments on commit 641100d

Please sign in to comment.