Skip to content

Fix lifecycle documentation #157

Fix lifecycle documentation

Fix lifecycle documentation #157

Workflow file for this run

name: Scripts Tests
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
# Ensures that only the latest commit is running for each PR at a time.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Scripts-tests:
name: Script tests (${{ matrix.suite.os }})
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
suite:
- os: "ubuntu"
- os: "macos"
- os: "windows"
osSuffix: ".exe"
runs-on: ${{ matrix.suite.os }}-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Test install CLI - jf
run: sh build/installcli/jf.sh && jf --version
- name: Test install CLI - jfrog
run: sh build/installcli/jfrog.sh && jfrog --version
- name: Test get CLI - jf
run: sh build/getcli/jf.sh && ./jf --version
- name: Test get CLI - jfrog
run: sh build/getcli/jfrog.sh && ./jfrog --version
- name: Test Build CLI - sh
run: |
sh build/build.sh
./jf${{ matrix.suite.osSuffix }} --version
if: ${{ matrix.suite.os != 'windows' }}
- name: Test Build CLI - bat
run: |
build/build.bat
./jf${{ matrix.suite.osSuffix }} --version
if: ${{ matrix.suite.os == 'windows' }}
- name: Test install npm - v2
working-directory: build/npm/v2
run: |
npm install
bin/jfrog${{ matrix.suite.osSuffix }} --version
- name: Test install npm - v2-jf
working-directory: build/npm/v2-jf
run: |
npm install
bin/jf${{ matrix.suite.osSuffix }} --version