Skip to content

Commit 7bbc741

Browse files
authored
Update version and remove windows and macos builds from test workflow. (trane-project#13)
1 parent 38dd8f1 commit 7bbc741

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Test Suite
1111
strategy:
1212
matrix:
13-
os: [ubuntu-latest, macos-latest, windows-latest]
13+
os: [ubuntu-latest]
1414
rust: [stable]
1515
runs-on: ${{ matrix.os }}
1616
steps:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "trane"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2021"
55
description = "An automated system for learning complex skills"
66
license = "GPL-3.0"

src/scheduler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,8 @@ impl DepthFirstScheduler {
410410
lessons.len() as i64
411411
}
412412

413+
/// Returns all the courses without dependencies. If some of those courses are missing, their
414+
/// dependents are added until there are no missing courses.
413415
fn get_all_starting_courses(&self) -> HashSet<u64> {
414416
let mut starting_courses = self.data.unit_graph.borrow().get_dependency_sinks();
415417
let mut num_courses = starting_courses.len();

0 commit comments

Comments
 (0)