Skip to content

[#641] Add matrix jobs #18

[#641] Add matrix jobs

[#641] Add matrix jobs #18

name: Test Fedora binaries
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- PruStephan/Add_tests_for_packages
jobs:
test_binaries:
name: Install and test binaries
runs-on: [self-hosted, Linux, X64, nix-with-docker]
strategy:
max-parallel: 3
matrix:
binary: [ tezos-client, tezos-admin-client, tezos-node, tezos-signer, tezos-codec, tezos-baker-PtMumbai, tezos-accuser-PtMumbai, tezos-smart-rollup-client-PtMumbai, tezos-smart-rollup-node-PtMumbai, tezos-baker-PtNairob, tezos-accuser-PtNairob, tezos-smart-rollup-client-PtNairob, tezos-smart-rollup-node-PtNairob]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up and test ${{ matrix.binary }}
run: |
docker run --rm -i fedora:latest /bin/bash -c "
sudo dnf update -y
sudo dnf install -y 'dnf-command(copr)'
sudo dnf copr enable -y @Serokell/Tezos
sudo dnf install ${{ matrix.binary }} -y
sudo ${{ matrix.binary }} --version
"