diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..c9a4b6d --- /dev/null +++ b/.github/workflows/CI.yml @@ -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