Republican Allan Fung is putting up a fight in Rhode Island’s gubernatorial race, bringing a major upset in the deep-blue state into the realm of possibility.

A new WPRI/Providence Journal survey finds Fung, the mayor of Cranston, trailing Democratic opponent and state treasurer Gina Raimondo 36 percent to 42 percent among likely voters. Moderate-party candidate Robert Healey garnered 8 percent support.

Twelve percent of Ocean State residents say they’re still undecided.

While winning office in Rhode Island is an uphill fight, Fung has polled competitively against Raimondo, especially without a third-party candidate on the ballot. Since the beginning of September, in head-to-head match-ups, Fung has either tied or been within a few percentage points of Raimondo. In all the polls, at least 10 percent of voters remain undecided. The state’s Democratic party and organized-labor interests remain divided over the pension reform Raimondo oversaw as state treasurer — she barely triumphed in a tough Democratic primary.

Larry Sabato’s Crystal Ball and the Cook Political Report still rate the race as “Likely Democratic,” while RealClearPolitics says it’s a “Toss Up.”