This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Add RangeVariable, EnumerateVariable #78
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PaddleDy2staicTests | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
Test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ['3.8'] | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} - python ${{ matrix.python-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
wget --no-verbose https://paddle-ci.gz.bcebos.com/dy2st/fallback/paddlepaddle-0.0.0-cp38-cp38-linux_x86_64.whl | |
pip install paddlepaddle-0.0.0-cp38-cp38-linux_x86_64.whl | |
pip install ".[paddle-test]" | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/paddle | |
key: ${{ runner.os }}-${{ matrix.python-version }}-paddle-cache-v1 | |
- name: Add paddle tests | |
working-directory: ./tests/ | |
run: | | |
git clone https://github.com/PaddlePaddle/Paddle | |
cd Paddle | |
git remote add upstream https://github.com/PaddlePaddle/Paddle | |
git fetch upstream pull/54202/head:symbolic_translate | |
git checkout symbolic_translate | |
- name: Run unit tests | |
working-directory: ./tests/ | |
run: | | |
bash ./run_all_paddle_ci.sh |