File size: 503 Bytes
db5855f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
type ValidatedOS = 'ubuntu-20.04' | 'ubuntu-22.04' | 'windows-2019' | 'macos-12';

type ValidatedPythonVersion = '3.8' | '3.9' | '3.10';

export enum ValidationStatus {
  SUCCESS = 'SUCCESS',
  FAILED = 'FAILED',
  TIMEOUT = 'TIMEOUT',
  SKIPPED = 'SKIPPED',
  NOT_RUN = 'NOT_RUN',
  EMPTY = 'EMPTY',
}

export interface INotebookStatus {
  name: string;
  status: {
    [OS in ValidatedOS]: {
      [PythonVersion in ValidatedPythonVersion]: ValidationStatus | null;
    };
  };
}