Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-ebrown committed May 26, 2024
1 parent bb70a57 commit 2c597d6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 34 deletions.
1 change: 1 addition & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: golangci-lint

on:
push:
branches:
Expand Down
65 changes: 31 additions & 34 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,33 @@
name: datareader
name: test

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@main
- name: setup
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install dependencies
run: |
make common-deps
- name: run tests
run: |
# make test-short
make test-coverage
- name: test report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: test report
path: test/*.xml
reporter: java-junit
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@main
- name: setup
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install dependencies
run: make common-deps
- name: run tests
run: make test-coverage
- name: report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: report
path: test/*.xml
reporter: java-junit

0 comments on commit 2c597d6

Please sign in to comment.