Commit 41a0c8e6 authored by Jesse Mapel's avatar Jesse Mapel Committed by GitHub
Browse files

Added basic gh actions (#409)

parent 128250da
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
name: Pull-Request-CI

on:
  pull_request:
    branches:
      - master

jobs:
  Continuous-Integration:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: conda-incubator/setup-miniconda@v2
        with:
          miniconda-version: "latest"
          activate-environment: ale
          environment-file: environment.yml
      - name: Install Python Package
        run: |
          python setup.py install
      - name: Test Python Package
        run: |
           pytest tests/pytests -vv
      - name: Build C++ Package
        run: |
          mkdir -p build
          cd build
          cmake -DCMAKE_BUILD_TYPE=RELEASE ..
          cmake --build .
      - name: Test C++ Package
        run: |
          ctest -VV
+1 −0
Original line number Diff line number Diff line
@@ -17,4 +17,5 @@ dependencies:
  - scipy>=1.4.0
  - spiceypy>=2.3.0
  - pyyaml
  - pytest
  - networkx