Skip to content

Secure ZnDraw connection #91

Secure ZnDraw connection

Secure ZnDraw connection #91

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
schedule:
- cron: "14 3 * * 1" # at 03:14 on Monday.
jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version:
- "3.11"
- "3.10"
- 3.9
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "temurin"
- uses: browser-actions/setup-chrome@latest
- run: chrome --version
- name: Install Poetry
run: |
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install package
run: |
poetry install --no-interaction
- name: Pytest
run: |
poetry run coverage run -m pytest -vv
poetry run coverage xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}