Skip to content

Commit

Permalink
Merge pull request #26 from mitre/addReleaseWorkflow
Browse files Browse the repository at this point in the history
addReleaseWorkflow
  • Loading branch information
georgedias authored Dec 29, 2021
2 parents 282afdf + 16ed1ff commit e1663b3
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion .github/workflows/test-cli.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
# name: Test emasser CLI

# on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]

# jobs:
# test:
# strategy:
# fail-fast: false
# matrix:
# platform: [ ubuntu-latest, macos-latest, windows-latest ]
# ruby-version: ['2.6', '2.7']
# runs-on: ${{ matrix.platform }}
# steps:
# - name: Setup Ruby ${{matrix.ruby}}
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ matrix.ruby-version }}
# - uses: actions/checkout@v2
# - name: Testing on ${{ matrix.platform }} for Ruby ${{ matrix.ruby }}
# if: matrix.platform == 'windows-latest'
# run: |
# echo "need to install libcurl.dll"
# - name: Testing on ${{ matrix.platform }} for Ruby ${{ matrix.ruby }}
# if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'macos-latest'
# run: |
# bundle install
# bundle info swagger_client
# rspec spec --format documentation

name: Test emasser CLI

on:
Expand All @@ -20,13 +53,21 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
- uses: actions/checkout@v2
- uses: crazy-max/ghaction-chocolatey@v1
with:
args: install curl -y
if: matrix.platform == 'windows-latest'
- name: Testing on ${{ matrix.platform }} for Ruby ${{ matrix.ruby }}
if: matrix.platform == 'windows-latest'
run: |
echo "need to install libcurl.dll"
# bundle install
# bundle info swagger_client
# rspec spec --format documentation
echo "need to fix path to libcurl.dll"
- name: Testing on ${{ matrix.platform }} for Ruby ${{ matrix.ruby }}
if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'macos-latest'
run: |
bundle install
bundle info swagger_client
rspec spec --format documentation
Binary file removed emasser-1.0.0.gem
Binary file not shown.

0 comments on commit e1663b3

Please sign in to comment.