Skip to content

chore(deps): Bump up Flask to 3.0.3 #948

chore(deps): Bump up Flask to 3.0.3

chore(deps): Bump up Flask to 3.0.3 #948

Workflow file for this run

name: Author Tools Tests
on:
push:
branches: [ main ]
paths-ignore:
- 'static/**'
- 'helm/**'
- 'docker/**'
- 'Dockerfile'
- '**.md'
- '**.yml'
pull_request:
branches: [ main ]
paths-ignore:
- 'static/**'
- 'helm/**'
- 'docker/**'
- 'Dockerfile'
- '**.md'
- '**.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Required OS dependencies
- name: Install OS dependencies
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common gcc
sudo apt-get install -y python3-cffi python3-brotli libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 libcairo2-dev libpangocairo-1.0-0
sudo apt-get install -y rfcdiff wdiff gawk
sudo wget https://raw.githubusercontent.com/ietf-tools/idnits-mirror/main/idnits
sudo cp idnits /bin
sudo chmod +x /bin/idnits
arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)
wget "https://github.com/mmarkdown/mmark/releases/download/v2.2.43/mmark_2.2.43_linux_$arch.tgz"
sudo tar zxf mmark_*.tgz -C /bin/
wget https://github.com/ietf-tools/bap/archive/refs/heads/master.zip
unzip -q master.zip -d /tmp/bap
- name: Build bap
working-directory: /tmp/bap/bap-master/
run: |
sudo apt-get install -y bison flex libfl-dev
sudo ./configure
sudo make
sudo cp aex bap /bin
# Python
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -c constraints.txt
pip install -r requirements.dev.txt
# Ruby
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Install dependencies
run: bundle install
# Node
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: |
npm install
mv ./node_modules/.bin/idnits ./node_modules/.bin/idnits3
# Tests
- name: Run Pyflakes
run: pyflakes at tests
- name: Run tests and collect coverage
env:
PATH: $PATH:/bin:./node_modules/.bin/
run: |
coverage run -m unittest discover tests
coverage xml
- name: Upload coverage to Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v3