Add activate-details agent command #151
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
name: CI | |
on: [pull_request] | |
jobs: | |
tests: | |
name: "Python ${{ matrix.python-version }}" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11"] | |
steps: | |
- uses: "actions/checkout@v2" | |
- uses: "actions/setup-python@v2" | |
with: | |
python-version: "${{ matrix.python-version }}" | |
- name: "Install dependencies" | |
run: | | |
set -xe | |
python -VV | |
python -m site | |
python -m pip install -r requirements-dev.txt | |
python -m pip install -r requirements.txt | |
- name: "Check code formatting for ${{ matrix.python-version }}" | |
run: | | |
set -xe | |
python setup.py format --check | |
- name: "Run pytest" | |
run: | | |
set -xe | |
KTAPI_CFG_FILE=data/profile.json python setup.py pytest | |
- name: "Check for changes of lint tools for ${{ matrix.python-version }}" | |
if: success() | |
run: test ! -n "$(git status --porcelain)" | |
- name: "Show changes in generated artifacts if any for ${{ matrix.python-version }}" | |
if: failure() | |
run: git diff | |
- name: "Install package for for ${{ matrix.python-version }}" | |
run: pip install . | |
- name: "Run synth_ctl for ${{ matrix.python-version }}" | |
run: synth_ctl --help |