Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Added Economics Layer | v0.9.1 draft #14

Added Economics Layer | v0.9.1 draft

Added Economics Layer | v0.9.1 draft #14

Workflow file for this run

name: build
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
paths-ignore:
- '**.md'
push:
branches:
- master
paths-ignore:
- '**.md'
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10" ]
steps:
- uses: actions/checkout@v1
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f ./ottermatics/datastores/datastores_requirements.txt ]; then pip install -r ./ottermatics/datastores/datastores_requirements.txt; fi
- name: Display Python Version
run: python -c "import sys; print(sys.version)"
- name: Run tests
run: python -m unittest discover ottermatics.test