mirror of https://github.com/aminya/setup-cpp
ci: pack exe before running the tests [skip ci test]
This commit is contained in:
parent
454f319514
commit
c7acc73aa7
|
@ -53,13 +53,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pnpm install
|
pnpm install
|
||||||
|
|
||||||
# - name: Setup SSH debugging session
|
|
||||||
# uses: mxschmitt/action-tmate@v3
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: |
|
|
||||||
pnpm run test
|
|
||||||
|
|
||||||
# Create self-contained executable that bundles Nodejs
|
# Create self-contained executable that bundles Nodejs
|
||||||
- name: Create Executable
|
- name: Create Executable
|
||||||
run: |
|
run: |
|
||||||
|
@ -73,6 +66,14 @@ jobs:
|
||||||
./dist
|
./dist
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
|
# - name: Setup SSH debugging session
|
||||||
|
# uses: mxschmitt/action-tmate@v3
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
if: "!contains(github.event.head_commit.message, '[skip ci test]')"
|
||||||
|
run: |
|
||||||
|
pnpm run test
|
||||||
|
|
||||||
Docker:
|
Docker:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { isValidUrl } from "../../utils/http/validate_url"
|
||||||
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
|
||||||
import { isGitHubCI } from "../../utils/env/isci"
|
import { isGitHubCI } from "../../utils/env/isci"
|
||||||
|
|
||||||
jest.setTimeout(300000)
|
jest.setTimeout(400000)
|
||||||
async function testUrl(version: string) {
|
async function testUrl(version: string) {
|
||||||
const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl)
|
const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue