diff --git a/.gitea/workflows/e2e.yml b/.gitea/workflows/e2e.yml index 7175982..268210e 100644 --- a/.gitea/workflows/e2e.yml +++ b/.gitea/workflows/e2e.yml @@ -13,6 +13,7 @@ on: - 'crates/arr-indexer/**' - 'crates/arr-meta/**' - 'crates/arr-probe/**' + - 'crates/arr-subs/**' - 'crates/arr-api/**' - 'crates/arr-daemon/**' - '.gitea/workflows/e2e.yml' @@ -70,10 +71,21 @@ jobs: curl -LsSf https://get.nexte.st/latest/linux \ | tar zxf - -C "$HOME/.cargo/bin" + - name: alass + # No distro package; the subtitle sync path (DESIGN.md ยง15) shells + # out to a binary literally named `alass`, which the crate is not. + run: | + export PATH="$HOME/.cargo/bin:$PATH" + command -v alass >/dev/null || { + cargo install alass-cli --locked + ln -sf "$HOME/.cargo/bin/alass-cli" "$HOME/.cargo/bin/alass" + } + - name: build daemon # The harness spawns this binary; building it here keeps the compile - # out of the first test's boot window. - run: cargo build -p arr-daemon --bin arr + # out of the first test's boot window. `translate-command` is the + # subtitle e2e scenarios' stub-script translation backend. + run: cargo build -p arr-daemon --bin arr --features translate-command - name: e2e env: diff --git a/Cargo.lock b/Cargo.lock index a0defb9..212d713 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -147,12 +147,14 @@ dependencies = [ name = "arr-e2e" version = "0.1.0" dependencies = [ + "arr-db", "arr-dl", "arr-indexer", "arr-meta", "chrono", "reqwest", "serde_json", + "sqlx", "tempfile", "tokio", "uuid",