mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-27 03:16:33 +00:00
Remove tests on archived matches
Also adds `--no-fail-fast` to tests
This commit is contained in:
parent
512a7e9020
commit
c4a9993ac2
4 changed files with 2 additions and 28 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -84,7 +84,7 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --features nightly,deny-unknown
|
args: --no-fail-fast --features nightly,deny-unknown
|
||||||
env:
|
env:
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
RUSTLOG: riven=trace
|
RUSTLOG: riven=trace
|
||||||
|
|
|
@ -13,10 +13,6 @@ use riven::consts::*;
|
||||||
const ROUTE: RegionalRoute = RegionalRoute::AMERICAS;
|
const ROUTE: RegionalRoute = RegionalRoute::AMERICAS;
|
||||||
|
|
||||||
static MATCHES: &[&str] = &[
|
static MATCHES: &[&str] = &[
|
||||||
// "NA1_3923487226", // Archived 2023-08-17
|
|
||||||
"NA1_4049206905",
|
|
||||||
"NA1_4052515784",
|
|
||||||
"NA1_4062578191",
|
|
||||||
"NA1_4097036960",
|
"NA1_4097036960",
|
||||||
// New games with `match-v5.ParticipantDto.challenges` field.
|
// New games with `match-v5.ParticipantDto.challenges` field.
|
||||||
"NA1_4209556127",
|
"NA1_4209556127",
|
||||||
|
|
|
@ -11,29 +11,7 @@ use riven::consts::*;
|
||||||
|
|
||||||
const ROUTE: PlatformRoute = PlatformRoute::JP1;
|
const ROUTE: PlatformRoute = PlatformRoute::JP1;
|
||||||
|
|
||||||
// Archived 2023-08-17
|
|
||||||
// // `teamPosition` empty:
|
|
||||||
// // AFK:
|
|
||||||
// "JP1_312062554",
|
|
||||||
// "JP1_289504387",
|
|
||||||
// "JP1_285434511",
|
|
||||||
// "JP1_307559381",
|
|
||||||
// "JP1_292569767",
|
|
||||||
// "JP1_300507433",
|
|
||||||
// "JP1_283568774",
|
|
||||||
// "JP1_310138781",
|
|
||||||
// // `individualPosition` is set but `teamPosition` is empty due to AFK slightly after beginning:
|
|
||||||
// "JP1_285797147",
|
|
||||||
// // Illegal big `championId`s. https://github.com/RiotGames/developer-relations/issues/553
|
|
||||||
// "JP1_267647303",
|
|
||||||
// "JP1_273343663",
|
|
||||||
// // `teamPosition` empty:
|
|
||||||
// // AFK:
|
|
||||||
// "JP1_326464722",
|
|
||||||
|
|
||||||
static MATCHES: &[&str] = &[
|
static MATCHES: &[&str] = &[
|
||||||
// Regular game:
|
|
||||||
"KR_5495121707",
|
|
||||||
// Only has participant IDs for blue team.
|
// Only has participant IDs for blue team.
|
||||||
"JP1_391732436",
|
"JP1_391732436",
|
||||||
// New field `ParticipantChallenges` `twoWardsOneSweeperCount`
|
// New field `ParticipantChallenges` `twoWardsOneSweeperCount`
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
RGAPI_KEY="$(cat apikey.txt)" RUST_BACKTRACE=1 RUST_LOG=riven=debug cargo test --features nightly,deny-unknown -- --nocapture
|
RGAPI_KEY="$(cat apikey.txt)" RUST_BACKTRACE=1 RUST_LOG=riven=debug cargo test --no-fail-fast --features nightly,deny-unknown -- --nocapture
|
||||||
|
|
Loading…
Reference in a new issue