Skip to content

Commit

Permalink
Merge 63b3a15 into 06f0c84
Browse files Browse the repository at this point in the history
  • Loading branch information
jidicula committed Nov 29, 2020
2 parents 06f0c84 + 63b3a15 commit dfc6291
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI-Tests

on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- 'macos-10.15'
- 'macos-11.0'
- 'windows-2019'
- 'ubuntu-18.04'
- 'ubuntu-20.04'
- 'ubuntu-16.04'
python-version:
- '3.7'
- '3.8'

steps:
- uses: actions/checkout@v2

- name: Set XCode version
if: contains(matrix.os, 'macos-11.0')
run: sudo xcode-select -s "/Applications/Xcode_12.2.app"

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Run CI script
run: ./ci.sh
# Add test coverage stats to Coveralls.io
finish:
needs: test
runs-on: ${{ matrix.os }}
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true

0 comments on commit dfc6291

Please sign in to comment.