mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
os: add input_password(prompt) and unit tests (#15507)
This commit is contained in:
parent
d08edf8cba
commit
3b42f18dee
7 changed files with 111 additions and 0 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -29,6 +29,7 @@ jobs:
|
|||
## The following is needed for examples/wkhtmltopdf.v
|
||||
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb
|
||||
sudo apt-get install --quiet -y xfonts-75dpi xfonts-base
|
||||
sudo apt-get install --quiet -y expect
|
||||
sudo dpkg -i wkhtmltox_0.12.6-1.focal_amd64.deb
|
||||
- name: Build v
|
||||
run: |
|
||||
|
@ -92,6 +93,11 @@ jobs:
|
|||
./v2 -o v3 -usecache cmd/v
|
||||
./v3 version
|
||||
./v3 -o tetris -usecache examples/tetris/tetris.v
|
||||
- name: Test password input
|
||||
run: |
|
||||
./v examples/password
|
||||
./v examples/password/password_ci.vsh
|
||||
|
||||
|
||||
ubuntu-tcc-boehm-gc:
|
||||
runs-on: ubuntu-20.04
|
||||
|
@ -239,6 +245,10 @@ jobs:
|
|||
./v2 -o v3 -usecache cmd/v
|
||||
./v3 version
|
||||
./v3 -o tetris -usecache examples/tetris/tetris.v
|
||||
- name: Test password input
|
||||
run: |
|
||||
./v examples/password
|
||||
./v examples/password/password_ci.vsh
|
||||
|
||||
ubuntu:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue