Skip to content

Update test_main.yml #25

Update test_main.yml

Update test_main.yml #25

Workflow file for this run

# This workflow will run tests to ensure HydroGenerate is working
name: Test HydroGenerate
on:
push:
branches:
- main
- jugc-pytest
pull_request:
branches:
- main
- jugc-pytest
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install -r .github/workflows/requirements.txt
- name: Test with pytest
run: |
cd tests
python -B -m pytest
cd ..