Skip to content

Commit

Permalink
add a github CI workflow to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed Jul 4, 2024
1 parent d960de6 commit 8eb09bd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/CI.yml
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

0 comments on commit 8eb09bd

Please sign in to comment.