Skip to content

4 build automation

4 build automation #28

Workflow file for this run

# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
#
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileContributor: Michael Meinel
# SPDX-FileContributor: Michael Fritzsche
name: Python application
on:
[push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -e .[dev]
- name: Test with pytest
run: |
pytest --cov=src test/hermes_toml_test