Skip to content

feat(tools): upd CI (14) #755

feat(tools): upd CI (14)

feat(tools): upd CI (14) #755

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master, CI ]
pull_request:
branches: [ master, CI ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
# Install
- name: Install
run: |
sudo apt-get clean
sudo apt-get update
sudo apt-get install dpkg
sudo apt-get install firefox
npm install -g testcafe
# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
# sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb
./tools/install-tarantool.sh
./control-install.sh
source $HOME/.cargo/env
# Print versions
- name: Print versions
run: |
node --version
testcafe --version
rustc -V
# Build
- name: Build
run: |
source $HOME/.cargo/env
export CARGO_TARGET_DIR=$HOME/target
./build.sh
# Test
- name: Test
run: |
./control-start.sh
sleep 200
tail -n +1 ./data/tarantool/tarantool.log
tail -n +1 ./logs/*.log
cd ./source-web && npm test