-
Notifications
You must be signed in to change notification settings - Fork 2
67 lines (56 loc) · 1.65 KB
/
e2e_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# This is a basic workflow to help you get started with Actions
name: E2E Test
on:
push:
pull_request:
branches: [ master ]
schedule:
- cron: '26 9 * * *'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ubuntu:
strategy:
fail-fast: true
matrix:
os_name:
- ubuntu
os_version:
- 22.04
- 24.04
runs-on: ubuntu-latest
container: ${{ matrix.os_name }}:${{ matrix.os_version }}
steps:
- name: Install requirements
run: |
apt-get update
apt-get upgrade -y
apt-get install -y curl sudo
- name: Install dotfiles
run: |
env LANG=en_US.utf8 HOME=/root bash -c "$(curl -fsSL https://git.io/imokuri)"
ubuntu_proxy:
strategy:
fail-fast: true
matrix:
os_name:
- ubuntu
os_version:
- 22.04
- 24.04
runs-on: ubuntu-latest
container: ${{ matrix.os_name }}:${{ matrix.os_version }}
services:
squid:
image: wernight/squid
ports:
- 3128:3128
steps:
- name: Install requirements
run: |
env https_proxy=http://squid:3128 http_proxy=http://squid:3128 apt-get update
env https_proxy=http://squid:3128 http_proxy=http://squid:3128 apt-get upgrade -y
env https_proxy=http://squid:3128 http_proxy=http://squid:3128 apt-get install -y curl sudo
- name: Install dotfiles
run: |
env https_proxy=http://squid:3128 http_proxy=http://squid:3128 LANG=en_US.utf8 HOME=/root bash -c "$(curl -fsSL https://git.io/imokuri)"
cat /root/.config/git/config.proxy