diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d3e698a..e236dbd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,7 +36,6 @@ jobs: test: name: Test runs-on: ubuntu-latest - if: github.event_name == 'push' steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index fe92063..54cef99 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,7 @@ copy of all of your GitHub repositories should the unthinkable happen. - **Backup Multiple Organizations**, automatically gathering the full list of repositories for each organization through the GitHub API. -- **Backup Starred Repos**, automatically gathering the full list of your starred repositories for your account - up and which are not. +- **Backup Starred Repos**, automatically gathering the full list of your starred repositories - **Repo Allowlists/Denylists** to provide fine-grained control over which repositories are backed up and which are not. - **GitHub Enterprise Support** for those of you running your own GitHub instances and not relying diff --git a/src/helpers/github.rs b/src/helpers/github.rs index bf816bf..c67b915 100644 --- a/src/helpers/github.rs +++ b/src/helpers/github.rs @@ -622,7 +622,7 @@ mod tests { } #[rstest] - #[case("github.repos.0.json", 30)] + #[case("github.repos.0.json", 31)] fn test_deserialize_repos(#[case] file: &str, #[case] repo_count: usize) { let repos: Vec = load_test_file(file).expect("Failed to load test file"); assert_eq!(repos.len(), repo_count); diff --git a/src/pairing.rs b/src/pairing.rs index 5efbcc2..ebb61c3 100644 --- a/src/pairing.rs +++ b/src/pairing.rs @@ -182,12 +182,12 @@ mod tests { #[rstest] #[case("true", 31)] #[case("false", 0)] - #[case("repo.fork", 19)] + #[case("repo.fork", 20)] #[case("!repo.fork", 11)] #[case("repo.empty", 2)] - #[case("!repo.empty", 28)] + #[case("!repo.empty", 29)] #[case("!repo.fork && !repo.empty", 11)] - #[case("repo.stargazers >= 1", 7)] + #[case("repo.stargazers >= 1", 8)] #[case("repo.forks > 3", 1)] #[case("repo.template", 1)] #[case("!repo.template", 30)]