-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a github CI workflow to run tests
- Loading branch information
1 parent
d960de6
commit 8eb09bd
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: '*' | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
architecture: [x64] | ||
python-version: ['3.9'] | ||
fail-fast: false | ||
name: Test ${{ matrix.os }} ${{ matrix.architecture }} | ||
Python ${{ matrix.python-version }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: ${{ matrix.architecture }} | ||
- name: Install nosetests | ||
run: | | ||
pip install nosetests | ||
- name: Run test | ||
run: nosetests pyrms/rmsTest |