mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Stop integration tests
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
name: integration-tests
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/integration-tests.yml'
|
||||
- '**.py'
|
||||
- '**.ts'
|
||||
- '**.tsx'
|
||||
- 'package.json'
|
||||
- 'package-lock.json'
|
||||
- 'tsconfig.json'
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
optuna-version: ['optuna==2.10.0', 'git+https://github.com/optuna/optuna.git']
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '16'
|
||||
- run: npm install
|
||||
- run: npm run build:dev
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.8'
|
||||
architecture: x64
|
||||
- name: Setup Optuna ${{ matrix.optuna-version }}
|
||||
run: |
|
||||
python -m pip install --progress-bar off --upgrade pip setuptools
|
||||
python -m pip install --progress-bar off --upgrade ${{ matrix.optuna-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --progress-bar off .
|
||||
python -m pip install --progress-bar off pyppeteer
|
||||
|
||||
- name: Cache headless chromium
|
||||
id: cache-chromium
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ./local-chromium
|
||||
key: chromium
|
||||
- run: pyppeteer-install
|
||||
if: steps.cache-chromium.outputs.cache-hit != 'true'
|
||||
env:
|
||||
PYPPETEER_HOME: ./local-chromium
|
||||
|
||||
- run: python hack/visual_regression_test.py --skip-screenshot --sleep 3
|
||||
env:
|
||||
PYPPETEER_HOME: ./local-chromium
|
||||
Reference in New Issue
Block a user