Let $M$ be a connected closed manifold of dimension $n$.
Suppose we have a subset $I\subset I_n=\{1, \dots, n\}$ such that for any two continuous maps $f, g:M\to M$ if $f^*=g^*|_{\oplus_{i\in I}H^i(M, \mathbb{Z})}$ then $f^*=g^*|_{\oplus_{i\in I_n}H^i(M, \mathbb{Z})}$.
Does it follow that $\oplus_{i\in I}H^i(M, \mathbb{Z})$ generates $\oplus_{i\in I_n}H^i(M, \mathbb{Z})$ as a graded ring?