Skip to content

Commit 095982e

Browse files
committed
ci: update github action workflow
This commit install podman and crun wich are required to run the e2e test with containers on github action runner. Signed-off-by: Kouame Behouba Manasse <behouba@gmail.com>
1 parent de53e50 commit 095982e

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,31 @@ jobs:
1212

1313
- name: Install System Dependencies
1414
run: |
15-
sudo add-apt-repository ppa:criu/ppa
15+
sudo add-apt-repository -y ppa:criu/ppa
1616
sudo apt-get update
17-
sudo apt-get install -qqy protobuf-compiler libprotobuf-dev criu
17+
sudo apt-get install -qqy protobuf-compiler libprotobuf-dev criu wget
18+
19+
- name: Install Podman
20+
run: |
21+
wget https://github.com/containers/podman/releases/download/v5.5.2/podman-remote-static-linux_amd64.tar.gz
22+
tar -xvf podman-remote-static-linux_amd64.tar.gz
23+
mv bin/podman-remote-static-linux_amd64 podman
24+
sudo mv podman /usr/local/bin/
25+
sudo chmod +x /usr/local/bin/podman
26+
27+
- name: Install crun
28+
run: |
29+
sudo rm -f /usr/bin/crun
30+
wget https://github.com/containers/crun/releases/download/1.23.1/crun-1.23.1-linux-amd64
31+
sudo install -m 0755 crun-1.23.1-linux-amd64 /usr/bin/crun
32+
1833
1934
- name: Setup Rust toolchain
2035
uses: actions-rs/toolchain@v1
2136
with:
2237
toolchain: stable
2338
override: true
39+
components: clippy
2440

2541
- name: Run tests
2642
run: make test

0 commit comments

Comments
 (0)