Skip to content

Default dtype and device to SB environment #75

Default dtype and device to SB environment

Default dtype and device to SB environment #75

Workflow file for this run

name: "Testing"
on:
push:
branches:
- main
- github-actions-test
pull_request:
branches:
- main
types:
- opened
- synchronize
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install package [pip]
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Run tests with Pytest
run: |
coverage run -m pytest
- name: Coverage
run: |
coverage report
coverage json
- name: Metadata check
run: |
python .github/scripts/metadata_checker
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}