EVAP monitor will only run after a cold start. The vehicle has to be completely cold, such as sitting overnight, before the EVAP monitor will even attempt to run. Then, it only runs under certain circumstances.
The secondary air monitor also only runs under very specific conditions. I'll list them here:
No MAF DTCs
- No MAP DTCs
- No IAT DTCs
- No ECT DTCs
- No TP Sensor DTCs
- No HO2S DTCs
- No VSS DTCs
- No system voltage DTCs
- No Fuel Trim DTCs
- No Misfire DTCs
- No CCP DTCs
- MAF is less than 25 grams per second
- Engine load is less than 34 percent
- Power Enrichment Mode is not active
- DFCO (Decel Fuel Cutoff Mode) is not active
- Convertor Over Temperature not active
- Engine run time after Closed Loop is more than 20 seconds
- Air/Fuel Ratio is 14.7:1
- Fuel Trim counts between 124–132
- Engine speed above 550 RPM
- ECT is between 80–107°C (176–225°F)
- System voltage is more than 11.7 volts
- IAT is more than 2°C (36°F)
Once all these criteria are met, the PCM software is programmed to pick an appropriate time to run the AIR pump. While GM does not tell us exactly when this occurs, I have noted it happening at low speeds, around 35 mph, at steady throttle. When the AIR pump comes on, the PCM is expecting to see oxygen sensor readings drop to near zero.
EVAP is tougher. Cold start, and normal (not aggressive) driving. The test will run about ten minutes into the drive cycle. If you shut the engine off and restart it, it won't try to test again until you have a cold soak.
It's not a matter of miles, it's a matter of getting just the right conditions. And while I don't know the CA requirements, I know that in my state and many others, you can pass a smog test with two readiness monitors that are not ready on a 1999 car or truck. Do you happen to know what the threshold is in CA?