Skip to content

Automated backport of #1562: Specify NamespaceInformer for SI and EPS resource syncers #2493

Automated backport of #1562: Specify NamespaceInformer for SI and EPS resource syncers

Automated backport of #1562: Specify NamespaceInformer for SI and EPS resource syncers #2493

Workflow file for this run

---
name: Unit Tests
on:
pull_request:
permissions: {}
jobs:
unit-testing:
name: Go Unit Tests
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- name: Create artifacts directory
run: mkdir artifacts
- name: Run Go unit tests
run: |
set -o pipefail
make unit 2>&1 | tee artifacts/unittest.log
- name: Collect artifacts
run: |
for f in $(find ./pkg -name "*.xml"); do
mkdir -p artifacts/$(dirname $f)
cp $f -rfp artifacts/$f
done
- name: Upload artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: Unit test artifacts
path: artifacts