Bump @eslint/js from 9.9.1 to 9.11.1 #790
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: 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 |