Skip to content

Commit

Permalink
added sudo and seperate step for docker container spin up
Browse files Browse the repository at this point in the history
  • Loading branch information
RabbITCybErSeC committed May 8, 2024
1 parent 7947e2b commit c3bfb45
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,14 @@ jobs:
- name: Install swaggo
run: go install github.com/swaggo/swag/cmd/swag@latest
timeout-minutes: 12
- name: Start docker containers for test
run: docker-compose -f "docker-compose.yml" up -d --build
- name: Run tests
run: |
sudo apt update
apt install openssh-server -y
useradd sshtest
echo "sshtest:pdKY77qNxpI5MAizirtjCVOcm0KFKIs" | chpasswd
service ssh start
sudo apt install openssh-server -y
sudo useradd sshtest
sudo echo "sshtest:pdKY77qNxpI5MAizirtjCVOcm0KFKIs" | chpasswd
sudo service ssh start
make ci-test

0 comments on commit c3bfb45

Please sign in to comment.