Skip to content

Nightly MotorCAD check #695

Nightly MotorCAD check

Nightly MotorCAD check #695

name: Nightly MotorCAD check
on:
workflow_dispatch:
schedule: # UTC at 0400
- cron: '0 4 * * *'
env:
PACKAGE_NAME: ansys-motorcad-core
PACKAGE_NAMESPACE: ansys.motorcad.core
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Tests and coverage
runs-on: [self-hosted, pymotorcad, tests]
strategy:
matrix:
os: [windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip tox tox-gh-actions
- name: Test with tox
run: tox -e py310-coverage