[images] Adding vim.tiny editor #1271
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
on: | |
push: | |
branches: | |
- master | |
- next | |
pull_request: | |
branches: | |
- next | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Unittest and Build RPMs | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
architecture: x64 | |
- name: unittest | |
run: | | |
pip install -r test-requirements.txt | |
pytest ./tests | |
- name: Build RPM (Centos:7) | |
run: docker run -v `pwd`:/scylla-machine-image -w /scylla-machine-image --rm centos:7.2.1511 bash -c './dist/redhat/build_rpm.sh -t centos7' | |
- name: Build RPM (Rockylinux:8) | |
run: docker run -v `pwd`:/scylla-machine-image -w /scylla-machine-image --rm rockylinux:8 bash -c 'dnf update -y; dnf install -y git ; git config --global --add safe.directory "*"; ./dist/redhat/build_rpm.sh -t centos8' | |
- name: Build DEB (Ubuntu:22.04) | |
run: docker run -v `pwd`:/scylla-machine-image -w /scylla-machine-image --rm ubuntu:22.04 bash -c 'apt update -y; apt install -y git ; git config --global --add safe.directory "*"; ./dist/debian/build_deb.sh' |