treewide: Towards iDMA release #71
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2023 ETH Zurich and University of Bologna. | |
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
# SPDX-License-Identifier: Apache-2.0 | |
# Authors: | |
# - Paul Scheffler <[email protected]> | |
# - Thomas Benz <[email protected]> | |
name: analyze | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
analyze-contributors: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- | |
name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
- | |
name: Python Requirements | |
run: pip install -r requirements.txt | |
- | |
name: List contributors | |
run: scripts/list-contributors | tee contributions.txt | |
- | |
name: Upload contributions.txt | |
uses: actions/upload-artifact@v2 | |
with: | |
name: contributions | |
path: contributions.txt | |
retention-days: 7 | |
analyze-todos: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- | |
name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
- | |
name: Python Requirements | |
run: pip install -r requirements.txt | |
- | |
name: List todos | |
run: scripts/list-todos | tee open_todos.txt | |
- | |
name: Upload todos.txt | |
uses: actions/upload-artifact@v2 | |
with: | |
name: open_todos | |
path: open_todos.txt | |
retention-days: 7 |