Skip to content

Commit

Permalink
feat: migrate CI to Github Actions (#27)
Browse files Browse the repository at this point in the history
Migrate CI from Azure Pipelines to GitHub Actions, point it to the main branch.
  • Loading branch information
lupino3 committed Dec 25, 2020
1 parent 0742b20 commit a88b40a
Show file tree
Hide file tree
Showing 6 changed files with 253 additions and 249 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "0 0 * * *"

jobs:
powershell-core:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

- name: Restore
run: tools/restore.ps1
shell: pwsh

- name: test
run: tools/run-tests.ps1
shell: pwsh

windows-powershell:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Restore
run: tools/restore.ps1
shell: powershell

- name: test
run: tools/run-tests.ps1
shell: powershell

- name: Test manifest
run: Test-ModuleManifest -Path ./FeatureFlags.psd1
shell: powershell
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[![Build Status](https://dev.azure.com/PowerShell-FeatureFlags/PowerShell-FeatureFlags/_apis/build/status/microsoft.PowerShell-FeatureFlags?branchName=master)](https://dev.azure.com/PowerShell-FeatureFlags/PowerShell-FeatureFlags/_build/latest?definitionId=1&branchName=master)
[![Nuget](https://img.shields.io/nuget/v/FeatureFlags.PowerShell)](https://www.nuget.org/packages/FeatureFlags.PowerShell/1.0.0)
[![Platforms](https://img.shields.io/powershellgallery/p/FeatureFlags.svg)](https://www.powershellgallery.com/packages/FeatureFlags/)
[![FeatureFlags](https://img.shields.io/powershellgallery/v/FeatureFlags.svg)](https://www.powershellgallery.com/packages/FeatureFlags/)
Expand Down
74 changes: 0 additions & 74 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit a88b40a

Please sign in to comment.