Skip to content

Merge pull request #64 from NREL/boptest_alignment #98

Merge pull request #64 from NREL/boptest_alignment

Merge pull request #64 from NREL/boptest_alignment #98

Workflow file for this run

name: Integration
on:
push:
branches:
- "develop"
pull_request:
repository_dispatch:
types: [alfalfa-update]
jobs:
integration:
name: Integration Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: "1.3.1"
- name: Start Alfalfa
uses: NREL/alfalfa-action@v1
with:
tag: "develop"
compose-file-ref: "develop"
worker-scale: 2
- name: Run tests with poetry and pytest
run: |
poetry install
poetry run pytest -m integration