mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 18:09:55 +00:00
31 lines
1.3 KiB
TypeScript
31 lines
1.3 KiB
TypeScript
import * as github from "@actions/github"
|
|
import { GitHub } from "@actions/github/lib/utils"
|
|
import anyTest, { TestFn } from "ava" // eslint-disable-line import/no-unresolved
|
|
|
|
import * as functions from "../src/functions"
|
|
import { getReleaseTag, getToken } from "./utils"
|
|
import { NextflowRelease } from "../src/NextflowRelease"
|
|
|
|
// A mock set of Nextflow releases
|
|
const release23091_edge: NextflowRelease = {
|
|
versionNumber: "v23.09.1-edge",
|
|
isEdge: true,
|
|
binaryURL: "https://github.com/nextflow-io/nextflow/releases/download/v23.09.1-edge/nextflow",
|
|
allBinaryURL: "https://github.com/nextflow-io/nextflow/releases/download/v23.09.1-edge/nextflow-23.09.1-edge-all"
|
|
}
|
|
const release23043: NextflowRelease = {
|
|
versionNumber: "v23.04.3",
|
|
isEdge: false,
|
|
binaryURL: "https://github.com/nextflow-io/nextflow/releases/download/v23.04.3/nextflow",
|
|
allBinaryURL: "https://github.com/nextflow-io/nextflow/releases/download/v23.04.3/nextflow-23.04.3-all"
|
|
}
|
|
const release23030: NextflowRelease = {
|
|
versionNumber: "v23.03.0-edge",
|
|
isEdge: true,
|
|
binaryURL: "https://github.com/nextflow-io/nextflow/releases/download/v23.03.0-edge/nextflow",
|
|
allBinaryURL: "https://github.com/nextflow-io/nextflow/releases/download/v23.03.0-edge/nextflow-23.03.0-edge-all"
|
|
}
|
|
|
|
test("Latest-everything install with newer edge release", t =>)
|
|
|
|
test.todo("install_nextflow")
|