Skip to content

Commit

Permalink
Merge pull request #59 from chmarti1/addtests-joss
Browse files Browse the repository at this point in the history
Add CI tests based on the straightforward ig and mp1 tests
  • Loading branch information
chmarti1 authored Sep 27, 2022
2 parents 6745307 + 4b2441c commit a332e05
Show file tree
Hide file tree
Showing 3 changed files with 1,470 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: test

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
python setup.py install
- name: Test Ideal Gases
working-directory: ./src/test
run: pytest test_ig.py
- name: Test Multiphase
working-directory: ./src/test
run: pytest test_mp1.py
Loading

0 comments on commit a332e05

Please sign in to comment.