Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI and Doc Updates #7

Merged
merged 3 commits into from
Dec 19, 2023
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: 2 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
- main
tags: '*'
pull_request:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -19,14 +14,15 @@ jobs:
matrix:
version:
- "1"
- "1.6" # minimum supported version
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
Expand Down
4 changes: 0 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using Documenter

push!(LOAD_PATH, "../src/")

using Documenter, TagPOMDPProblem, POMDPTools

makedocs(
Expand Down
4 changes: 2 additions & 2 deletions src/transition.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ function orig_transition(pomdp::TagPOMDP, s::TagState, a::Int)
t_move_dirs = [get_prop(pomdp.mg, s.t_pos, t_pos′, :action) for t_pos′ in t_move_pos_options]

# Isolate ns and ew moves
ns_moves = t_move_pos_options[(t_move_dirs .== :north) .|| (t_move_dirs .== :south)]
ew_moves = t_move_pos_options[(t_move_dirs .== :east) .|| (t_move_dirs .== :west)]
ns_moves = t_move_pos_options[(t_move_dirs .== :north) .| (t_move_dirs .== :south)]
ew_moves = t_move_pos_options[(t_move_dirs .== :east) .| (t_move_dirs .== :west)]


robot_map_coord = get_prop(pomdp.mg, :node_pos_mapping)[s.r_pos]
Expand Down