Skip to content

Fix packing in Github Actions #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 15 additions & 17 deletions .github/workflows/packing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: packing

on:
push:
branches:
- master
tags:
- '*'
pull_request:
pull_request_target:
types: [labeled]
Expand All @@ -20,7 +16,7 @@ jobs:
if: (github.event_name == 'push') ||
(github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -65,7 +61,7 @@ jobs:
if: (github.event_name == 'push') ||
(github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -120,7 +116,7 @@ jobs:
(github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository)

runs-on: windows-latest
runs-on: windows-2022

strategy:
fail-fast: false
Expand Down Expand Up @@ -188,7 +184,7 @@ jobs:
- run_tests_pip_package_linux
- run_tests_pip_package_windows

runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -226,7 +222,7 @@ jobs:
if: (github.event_name == 'push') ||
(github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

container:
image: ${{ matrix.target.os }}:${{ matrix.target.dist }}
Expand Down Expand Up @@ -293,7 +289,7 @@ jobs:
if: (github.event_name == 'push') ||
(github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

container:
image: ${{ matrix.target.os }}:${{ matrix.target.dist }}
Expand All @@ -315,7 +311,9 @@ jobs:
uses: actions/checkout@v3

- name: Setup Python and test running tools
run: dnf install -y python3 python3-libs python3-pip git make
# cmake rocks fail to install as expected without findutils:
# https://github.com/tarantool/luarocks/issues/14
run: dnf install -y python3 python3-libs python3-pip git make cmake gcc unzip findutils

- name: Remove connector source code
run: python3 .github/scripts/remove_source_code.py
Expand All @@ -340,7 +338,7 @@ jobs:
- name: Install the crud module for testing purposes
run: |
curl -L https://tarantool.io/release/2/installer.sh | bash
sudo apt install -y tt
sudo dnf install -y tt
tt rocks install crud

- name: Run tests
Expand All @@ -352,7 +350,7 @@ jobs:
needs:
- run_tests_rpm

runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -402,7 +400,7 @@ jobs:
if: (github.event_name == 'push') ||
(github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -450,7 +448,7 @@ jobs:
if: (github.event_name == 'push') ||
(github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

container:
image: ${{ matrix.target.os }}:${{ matrix.target.dist }}
Expand Down Expand Up @@ -507,7 +505,7 @@ jobs:
- name: Install the crud module for testing purposes
run: |
curl -L https://tarantool.io/release/2/installer.sh | bash
sudo apt install -y tt
apt install -y tt
tt rocks install crud

- name: Run tests
Expand All @@ -519,7 +517,7 @@ jobs:
needs:
- run_tests_deb

runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down