Skip to content

[#641] Add checks for other binaries as well #10

[#641] Add checks for other binaries as well

[#641] Add checks for other binaries as well #10

name: Test Fedora binaries

Check failure on line 1 in .github/workflows/test-fedora-binaries.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-fedora-binaries.yml

Invalid workflow file

invalid `cron` attribute "0 0 0 * * ?"
on:
schedule:
- cron: "0 0 0 * * ?"
push:
branches:
- PruStephan/Add_tests_for_packages
jobs:
run_script:
name: Install and test binaries
runs-on: [self-hosted, Linux, X64, nix-with-docker]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up and test tezos-client
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 tezos-client -y
sudo tezos-client --version
"
- name: Set up and test tezos-admin-client
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 tezos-admin-client -y
sudo tezos-admin-client --version
"
- name: Set up and test tezos-node
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 tezos-node -y
sudo tezos-node --version
"
- name: Set up and test tezos-signer
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 tezos-signer -y
sudo tezos-signer --version
"
- name: Set up and test tezos-codec
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 tezos-codec -y
sudo tezos-codec --version
"
- name: Set up and test tezos-baker-PtMumbai
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 tezos-baker-PtMumbai -y
sudo tezos-baker-PtMumbai --version
"
- name: Set up and test tezos-accuser-PtMumbai
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 tezos-accuser-PtMumbai -y
sudo tezos-accuser-PtMumbai --version
"
- name: Set up and test tezos-smart-rollup-client-PtMumbai
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 tezos-smart-rollup-client-PtMumbai -y
sudo tezos-smart-rollup-client-PtMumbai --version
"
- name: Set up and test tezos-smart-rollup-node-PtMumbai
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 tezos-smart-rollup-node-PtMumbai -y
sudo tezos-smart-rollup-node-PtMumbai --version
"
- name: Set up and test tezos-baker-PtNairob
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 tezos-baker-PtNairob -y
sudo tezos-baker-PtNairob --version
"
- name: Set up and test tezos-accuser-PtNairob
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 tezos-accuser-PtNairob -y
sudo tezos-accuser-PtNairob --version
"
- name: Set up and test tezos-smart-rollup-client-PtNairob
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 tezos-smart-rollup-client-PtNairob -y
sudo tezos-smart-rollup-client-PtNairob --version
"
- name: Set up and test tezos-smart-rollup-node-PtNairob
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 tezos-smart-rollup-node-PtNairob -y
sudo tezos-smart-rollup-node-PtNairob --version
"