Skip to content

Commit

Permalink
Create build-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joyxyz1994 committed Aug 14, 2024
1 parent 93eded7 commit d4f1e8f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: build-latest

on:
push:
branches: [ bsm2 ]
pull_request:
branches: [ bsm2 ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
pip install --no-cache-dir git+https://github.com/BioSTEAMDevelopmentGroup/thermosteam.git@qsdsan
pip install --no-cache-dir git+https://github.com/BioSTEAMDevelopmentGroup/biosteam.git@qsdsan
pip install --no-cache-dir git+https://github.com/QSD-Group/QSDsan.git@dev
pip install --no-cache-dir -r requirements.txt
- name: Test with pytest
run: |
pytest

0 comments on commit d4f1e8f

Please sign in to comment.