Skip to content

Jidea-60 Daedalus deploy tool #1

Jidea-60 Daedalus deploy tool

Jidea-60 Daedalus deploy tool #1

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- '*'
name: Tests
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12.3 # TODO: what version is on the server?
- name: Install dependencies
# https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-python#installing-dependencies
# If installing a development version of constellation, use:
# - pip3 install git+https://github.com/reside-ic/constellation@reside-62#egg=constellation
run: |
python -m pip install --upgrade setuptools pip wheel
pip3 install pytest-cov pycodestyle codecov
pip3 install -r requirements.txt
- name: Tests
run: |
pytest --cov=src
- name: Lint
run: |
pycodestyle .
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
# TODO: build and push proxy (same model as packit)