Skip to content

Commit

Permalink
Put RouterOS setup later to give container time to start
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenn-newbury committed Dec 21, 2021
1 parent 7f2fc49 commit 6099d53
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,22 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2.3.4

- name: Setup routeros
- name: Get dependencies
run: |
go mod download
- name: Build
run: go build -v .

- name: Set up RouterOS
run: |
sudo pip3 install routeros_api
ls -alh
pwd
python3 .github/scripts/setup_routeros.py
env:
ROS_USERNAME: admin
ROS_PASSWORD: ''
ROS_IP_ADDRESS: 127.0.0.1

- name: Get dependencies
run: |
go mod download
- name: Build
run: go build -v .

- name: Run provider tests
run: go test ./routeros
env:
Expand Down

0 comments on commit 6099d53

Please sign in to comment.