Skip to content

add ruff to ci/cd

add ruff to ci/cd #36

name: Functional Legacy
on:
push:
branches: [main, 4.2, 3.4]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
# runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.6"]
os: ["ubuntu-20.04"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: run python version
run: |
python --version
- name: Install dependencies
run: |
python -m pip install --no-cache-dir --upgrade pip
pip install --no-cache-dir -r requirements.txt
pip install psutil
- name: change ownership to exa user
run: |
echo "EXABGP_DAEMON_USER=$(whoami)" >> $GITHUB_ENV
- name: Python 3.6 Coverage
run: |
./qa/bin/functional-3.6 all