From 8901db8bddf19cfbd72c8f885b6ca3a919b1a5d9 Mon Sep 17 00:00:00 2001 From: Ali Karbassi Date: Fri, 27 Mar 2020 20:13:02 -0500 Subject: [PATCH] Add multiple environments (#298) --- .github/workflows/blank.yml | 33 --------------------------------- .github/workflows/tests.yml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 33 deletions(-) delete mode 100644 .github/workflows/blank.yml create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml deleted file mode 100644 index 53623bb..0000000 --- a/.github/workflows/blank.yml +++ /dev/null @@ -1,33 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - name: make dist - run: make dist - - - name: make install - run: make dist - - - name: make test - run: make test - diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..66bad21 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,20 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + strategy: + matrix: + platform: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.platform }} + steps: + - uses: actions/checkout@v2 + - run: make + - run: make dist + - run: make test +