Skip to content

From v1json and To json and fix the support for NRL json #323

From v1json and To json and fix the support for NRL json

From v1json and To json and fix the support for NRL json #323

Workflow file for this run

name: DeePTB tests.
on:
pull_request:
paths-ignore:
- 'docs/**'
- '.github/workflows/devcontainer.yml'
jobs:
build:
runs-on: ubuntu-latest
outputs:
output1: ${{ steps.s1.outputs.test }}
output2: ${{ steps.s2.outputs.test }}
if: github.repository_owner == 'deepmodeling'
container: ghcr.io/deepmodeling/deeptb:latest
steps:
- name: Checkout
id: s1
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Install DeePTB & Run Test
id: s2
run: |
bash ut.sh
job2:
runs-on: ubuntu-latest
needs: build
steps:
- env:
OUTPUT2: ${{needs.build.outputs.output2}}
OUTPUT3: ${{needs.build.outputs.output3}}
run: echo "$OUTPUT1 $OUTPUT2"