Skip to content

0.2.1: fixed boundary values imposing bugs from Jax-cfd #3

0.2.1: fixed boundary values imposing bugs from Jax-cfd

0.2.1: fixed boundary values imposing bugs from Jax-cfd #3

Workflow file for this run

name: Run Tests 🧪
on:
push:
tags:
- '*'
pull_request:
jobs:
test:
name: Run pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Extract tag name
id: tag
run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Update version in setup.py
run: >-
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" setup.py
- name: Install build
run: python -m pip install build
- name: Run pytest
run: |
pytest --pyargs torch_cfd --verbose