Skip to content

Python/pytest problemMatcher doesn't seem to work? #25393

Closed Answered by BrightRan
billyvg asked this question in Actions
Discussion options

You must be logged in to vote

@billyvg,
Maybe you can try to reference the below file in actions/setup-python to add-matcher:

github.com

actions/setup-python/blob/807b74f98ca701f414ddaa8a4187e7cffa93cbbd/src/setup-python.ts

import * as core from '@actions/core';
import * as finder from './find-python';
import * as path from 'path';
import * as os from 'os';

async function run() {
try {
let version = core.getInput('python-version');
if (version) {
const arch: string = core.getInput('architecture') || os.arch();
const installed = await finder.findPythonVersion(version, arch);
core.info(Successfully setup ${installed.impl} (${installed.version}));
}
const matchersPath = path.join(__dirname, '..', '.github');
core.info(#…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants