Skip to content

Use official to_backend API for GPU/CPU backend conversion #1402

Use official to_backend API for GPU/CPU backend conversion

Use official to_backend API for GPU/CPU backend conversion #1402

Workflow file for this run

name: Core Tests (CPU)
on:
workflow_dispatch:
push:
branches: [main]
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
pull_request:
branches: [main]
jobs:
build:
uses: ./.github/workflows/tox.yml
with:
env: test-cpu
store-pr-information:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Store PR information
run: |
mkdir ./pr
echo ${{ github.event.number }} > ./pr/pr.txt
echo ${{ github.event.pull_request.merged }} > ./pr/merged.txt
echo ${{ github.event.action }} > ./pr/action.txt
- name: Upload PR information
uses: actions/upload-artifact@v2
with:
name: pr
path: pr/