Skip to content

Bump globals from 15.6.0 to 15.7.0 #768

Bump globals from 15.6.0 to 15.7.0

Bump globals from 15.6.0 to 15.7.0 #768

Workflow file for this run

name: Test pyCA
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# https://endoflife.date/python
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#python
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- name: install libgnutls28-dev
run: |
sudo apt update -q
sudo apt install -q -y libgnutls28-dev libcurl4-gnutls-dev
- uses: actions/checkout@v4
- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install Python dependencies
run: pip install -r requirements.txt
- name: install JavaScript dependencies
run: npm ci
- name: install test dependencies
run: pip install -r .github/requirements.txt
- name: lint code
run: make lint
- name: run test
run: make test
- name: no auth for selenium tests
run: sed -i 's/#password *= .*$/password = ""/' etc/pyca.conf
- name: start user interface
run: |
gunzip .github/test.db.gz
mv .github/test.db pyca.db
./start.sh ui &
sleep 2
- name: run user interface integration tests
run: ./.github/selenium-tests
- name: ensure test coverage doesn't drop
run: coverage report --fail-under=91