Skip to content

Commit

Permalink
readd ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Gastinger committed Feb 15, 2024
1 parent 6a12898 commit 1874a14
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/anx-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ on:

name: anx-ci
jobs:
# test:
# strategy:
# matrix:
# go-version: ["1.21.x"]
# platform: [ubuntu-latest, macos-latest, windows-latest, ubuntu-20.04]
# runs-on: ${{ matrix.platform }}
# steps:
# - name: Install Go
# if: success()
# uses: actions/setup-go@v3
# with:
# go-version: ${{ matrix.go-version }}
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Build
# run: go build
# - name: Run tests
# run: go test ./... -v -covermode=count
test:
strategy:
matrix:
go-version: ["1.21.x"]
platform: [ubuntu-latest, macos-latest, windows-latest, ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Build
run: go build
- name: Run tests
run: go test ./... -v -covermode=count

publish:
# needs: test
needs: test
runs-on: ubuntu-20.04

env:
Expand Down

0 comments on commit 1874a14

Please sign in to comment.