Skip to content

Commit

Permalink
Update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenn-newbury committed Dec 18, 2021
1 parent d53457c commit 50ec319
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,11 @@ jobs:
go: ["1.16"]
os: [ubuntu-latest]
# Test against RouterOS v7
routeros:
routeros_version:
- "7.1"
terraform:
- "1.1.0"
- "7.1rc7"
legacy_bgp_support: [true]
include:
- experimental: true
go: 1.16
os: ubuntu-latest
routeros: "latest"
legacy_bgp_support: false

steps:
- name: Set up Go
uses: actions/setup-go@v2.1.3
Expand All @@ -48,7 +42,7 @@ jobs:
run: go build -v .

- name: Run provider tests
run: make testacc
run: go test ./routeros
env:
ROS_HOSTURL: https://127.0.0.1
ROS_USERNAME: admin
Expand All @@ -58,7 +52,7 @@ jobs:
LEGACY_BGP_SUPPORT: ${{ matrix.legacy_bgp_support }}

- name: Run client tests
run: make testclient
run: go test ./client
env:
ROS_HOSTURL: https://127.0.0.1
ROS_USERNAME: admin
Expand All @@ -69,7 +63,7 @@ jobs:

services:
routeros:
image: evilfreelancer/docker-routeros:${{ matrix.routeros }}
image: gnewbury/docker-routeros:${{ matrix.routeros_version }}
ports:
- 443:443
volumes:
Expand Down

0 comments on commit 50ec319

Please sign in to comment.