Fix configuration without authentication #594
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' | |
steps: | |
- name: install libgnutls28-dev | |
run: | | |
sudo apt update -q | |
sudo apt install -q -y libgnutls28-dev libcurl4-gnutls-dev | |
- uses: actions/checkout@v2 | |
- name: set up python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
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: 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: upload test coverage to coveralls | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: coveralls --service=github |