Skip to content

Bump the npm_and_yarn group across 1 directory with 31 updates #1004

Bump the npm_and_yarn group across 1 directory with 31 updates

Bump the npm_and_yarn group across 1 directory with 31 updates #1004

Workflow file for this run

name: Tests
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
jobs:
test:
name: ${{ matrix.os }} / ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}-latest
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
os: [Ubuntu, macOS, Windows]
python-version: [3.8, 3.9]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up TorchTS
uses: ./.github/actions/setup-torchts
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: poetry run pytest tests/ --cov=torchts
- name: Generate coverage report
run: poetry run coverage xml
- name: Upload coverage report
if: success()
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}