mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-16 20:27:05 +03:00
44 lines
997 B
YAML
44 lines
997 B
YAML
name: Check tox tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- releases/*
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
|
|
jobs:
|
|
check_document:
|
|
name: Check packaging 📦
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
AQT_TEST_EMAIL: ${{ secrets.AQT_TEST_EMAIL }}
|
|
AQT_TEST_PASSWORD: ${{ secrets.AQT_TEST_PASSWORD }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 20
|
|
fetch-tags: true
|
|
- name: Set up Python 3.13
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.13'
|
|
- name: Install tools
|
|
run: |
|
|
pip install -U pip
|
|
pip install tox tox-gh-actions coveralls coverage[toml]
|
|
- name: Test
|
|
run: |
|
|
tox
|
|
coverage xml -o cobertura.xml
|
|
env:
|
|
PYTEST_ADDOPTS: --cov-config=pyproject.toml --cov --cov-append --verbose
|
|
- name: Upload Coverage
|
|
run: coveralls --service=github
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|