Skip to content

cpondoc pushed code

cpondoc pushed code #9

Workflow file for this run

name: Automated Building and Testing
run-name: ${{ github.actor }} pushed code
on: [push]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python version
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install tools to install package to runner
run: python -m pip install setuptools wheel
- run: cd ${{ github.workspace }}
- name: Create distribution files for package
run: python wildfire_evac/setup.py sdist -d wildfire_evac/dist
- name: Install package locally
run: pip install -e wildfire_evac
- name: Install pytest for testing
run: python -m pip install pytest
- name: Run tests
run: python -m pytest -s