Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI
on: [push, pull_request, workflow_dispatch]
on: [pull_request, workflow_dispatch]
jobs:
test:
name: ${{ matrix.group }} Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -9,8 +9,6 @@ jobs:
matrix:
group:
- Base
- Util
- Model
- Ext
- Doc
version:
Expand All @@ -19,8 +17,8 @@ jobs:
- 'nightly'
os:
- ubuntu-latest
- windows-latest
- macOS-latest
# - windows-latest
# - macOS-latest
arch:
- x64
steps:
Expand Down
8 changes: 2 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using DelimitedFiles: readdlm
const GROUP = get(ENV,"GROUP","All")
const VERSION = get(ENV,"VERSION","latest")

if GROUP == "All" || GROUP == "Base"
if GROUP ∈ ["All", "Base"]
@testset "GasDispersion.jl tests" begin
@test_throws MethodError scenario_builder()

Expand All @@ -17,15 +17,11 @@ if GROUP == "All" || GROUP == "Base"

# testing plot recipes
include("base/recipe_tests.jl")
end

if GROUP == "All" || GROUP == "Util"
# testing utilities
include("utils/util_tests.jl")
include("depreciation/depreciation_tests.jl")
end

if GROUP == "All" || GROUP == "Model"
# testing source models
include("source_models/jet_source_tests.jl")

Expand All @@ -51,6 +47,6 @@ end

# some doc tests don't work with julia 1.3, because of Documenter
# but I still want to run them in the tests sometimes
if GROUP == "Doc" && VERSION != "1.3"
if GROUP ∈ ["All", "Doc"] && VERSION != "1.3"
doctest(GasDispersion, fix=false)
end
Loading