Skip to content

test

test #520

Workflow file for this run

# Authors:
# Unai Martinez-Corral
#
# Copyright 2017-2023 Unai Martinez-Corral <unai.martinezcorral@ehu.eus>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
name: 'test'
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 5'
env:
CI: true
DOCKER_BUILDKIT: 1
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
action-skip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
skip-deploy: true
cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
pip3 install setuptools
pip3 install -r ./btd/requirements.txt
- run: ./btd/cli.py run
req:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
pip3 install setuptools
pip3 install -U Pygments
pip3 install -r ./btd/requirements.txt
pip3 install -r ./doc/requirements.txt
- run: ./btd/cli.py run
# doc:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - run: |
# ./shbtd/btd.sh build -d -v "master,demo"
# #./shbtd/btd.sh deploy
# env:
# GH_DEPKEY: ${{ secrets.GH_DEPKEY }}
# GH_SHA: ${{ github.sha }}
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - run: ./shbtd/btd.sh test