Adding heat transfer solve and velocity profile inputs #210
Workflow file for this run
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
name: test_pvade | |
on: | |
push: | |
branches: [ main ] | |
# branches: [ main, dev ] | |
pull_request: | |
branches: [ main, dev, sync] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# Job 1 of 2 - run pytest on code | |
pytest: | |
name: Pytest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Conda environment | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yaml | |
- name: Run pytest | |
shell: bash -l {0} | |
run: pytest -sv pvade/tests/ | |
# Job 2 of 2 - enforce Black formatting | |
formatting: | |
name: Black formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: psf/black@stable |