Skip to content

Update Go version to 1.20 #5

Update Go version to 1.20

Update Go version to 1.20 #5

Workflow file for this run

name: BDD tests
on:
- push
- pull_request
jobs:
bdd:
runs-on: ubuntu-20.04
strategy:
matrix:
go-version:
- "1.20"
name: BDD for Go ${{ matrix.go-version}}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build project
run: ./build.sh --test-rules-only
- name: Retrieve Docker compose file
run: wget -O docker-compose.yml https://raw.githubusercontent.com/RedHatInsights/insights-behavioral-spec/main/docker-compose.yml
- name: Retrieve BDD runner
run: wget -O bdd_runner.sh https://raw.githubusercontent.com/RedHatInsights/insights-behavioral-spec/main/run_in_docker.sh && chmod +x bdd_runner.sh
- name: Run BDD
run: ./bdd_runner.sh insights-content-service-tests .