Skip to content

Commit

Permalink
Merge branch 'master' into fiter-fields-by-id
Browse files Browse the repository at this point in the history
  • Loading branch information
lipkau authored Jun 21, 2023
2 parents 3882359 + 00286c1 commit f8ccde6
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 208 deletions.
137 changes: 137 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
name: Build and Test

on:
pull_request:
branches:
- master

jobs:
build_module:
name: Build Module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup
shell: pwsh
run: |
./Tools/setup.ps1
Invoke-Build -Task ShowInfo
- name: Build
shell: pwsh
run: |
Invoke-Build -Task Clean, Build
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Release
path: ./Release/

test_on_windows_v5:
name: Test Module on Windows (PS v5)
needs: build_module
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Download
uses: actions/download-artifact@v3
with:
name: Release
path: ./Release/
- name: Setup
shell: powershell
run: |
./Tools/setup.ps1
Invoke-Build -Task ShowInfo
- name: Test
shell: powershell
run: |
Invoke-Build -Task Test
test_on_windows_v7:
name: Test Module on Windows (PS v7)
needs: build_module
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Download
uses: actions/download-artifact@v3
with:
name: Release
path: ./Release/
- name: Setup
shell: pwsh
run: |
./Tools/setup.ps1
Invoke-Build -Task ShowInfo
- name: Test
shell: pwsh
run: |
Invoke-Build -Task Test
test_on_ubuntu:
name: Test Module on Ubuntu
needs: build_module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download
uses: actions/download-artifact@v3
with:
name: Release
path: ./Release/
- name: Setup
shell: pwsh
run: |
./Tools/setup.ps1
Invoke-Build -Task ShowInfo
- name: Test
shell: pwsh
run: |
Invoke-Build -Task Test
test_on_macos:
name: Test Module on macOS
needs: build_module
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Download
uses: actions/download-artifact@v3
with:
name: Release
path: ./Release/
- name: Setup
shell: pwsh
run: |
./Tools/setup.ps1
Invoke-Build -Task ShowInfo
- name: Test
shell: pwsh
run: |
Invoke-Build -Task Test
test_against_cloud:
env:
JiraURI: ${{ secrets.JiraURI }}
JiraUser: ${{ secrets.JiraUser }}
JiraPass: ${{ secrets.JiraPass }}
name: Test Module against Cloud Server
needs: build_module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download
uses: actions/download-artifact@v3
with:
name: Release
path: ./Release/
- name: Setup
shell: pwsh
run: |
./Tools/setup.ps1
Invoke-Build -Task ShowInfo
- name: Test
shell: pwsh
run: |
Invoke-Build -Task Test -Tag "Integration" -ExcludeTag ""
if: ${{ env.JiraURI != '' }}
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permalink: /module/JiraPS/
# [JiraPS](https://atlassianps.org/module/JiraPS)

[![GitHub release](https://img.shields.io/github/release/AtlassianPS/JiraPS.svg?style=for-the-badge)](https://github.com/AtlassianPS/JiraPS/releases/latest)
[![Build Status](https://img.shields.io/vso/build/AtlassianPS/JiraPS/11/master.svg?style=for-the-badge)](https://dev.azure.com/AtlassianPS/JiraPS/_build/latest?definitionId=11)
[![Build Status](https://img.shields.io/github/actions/workflow/status/AtlassianPS/JiraPS/build_and_test.yml?style=for-the-badge)](https://github.com/AtlassianPS/JiraPS/actions/workflows/build_and_test.yml)
[![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/JiraPS.svg?style=for-the-badge)](https://www.powershellgallery.com/packages/JiraPS)
![License](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)

Expand Down Expand Up @@ -61,18 +61,16 @@ Check out our guidelines on [Contributing] to our modules and documentation.

## Tested on

|Configuration|Status|
|-------------|------|
|Windows Powershell v3||
|Windows Powershell v4||
|Windows Powershell v5.1|[![Build Status](https://img.shields.io/vso/build/AtlassianPS/JiraPS/11/master.svg?style=for-the-badge)](https://dev.azure.com/AtlassianPS/JiraPS/_build/latest?definitionId=11)|
|Powershell Core (latest) on Windows|[![Build Status](https://img.shields.io/vso/build/AtlassianPS/JiraPS/11/master.svg?style=for-the-badge)](https://dev.azure.com/AtlassianPS/JiraPS/_build/latest?definitionId=11)|
|Powershell Core (latest) on Ubuntu|[![Build Status](https://img.shields.io/vso/build/AtlassianPS/JiraPS/11/master.svg?style=for-the-badge)](https://dev.azure.com/AtlassianPS/JiraPS/_build/latest?definitionId=11)|
|Powershell Core (latest) on MacOS|[![Build Status](https://img.shields.io/vso/build/AtlassianPS/JiraPS/11/master.svg?style=for-the-badge)](https://dev.azure.com/AtlassianPS/JiraPS/_build/latest?definitionId=11)|
* Windows Powershell v3
* Windows Powershell v4
* Windows Powershell v5.1
* Powershell Core (latest) on Windows
* Powershell Core (latest) on Ubuntu
* Powershell Core (latest) on MacOS

## Acknowledgements

* Thanks to [replicaJunction] for getting this module on it's feet
* Thanks to [replicaJunction] for getting this module on its feet
* Thanks to everyone ([Our Contributors](https://atlassianps.org/#people)) that helped with this module

## Useful links
Expand Down
198 changes: 0 additions & 198 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit f8ccde6

Please sign in to comment.