Skip to content

fix tests

fix tests #155

Workflow file for this run

name: Test
on:
push:
branches: ["*"]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-go@v4
with:
go-version: "^1.19.0"
- name: Install dependencies
run: |
make dependencies
- name: Write feature keys
run: |
echo "$FEATURESV1" > /tmp/featuresv1.conf
echo "$FEATURESV2" > /tmp/featuresv2.conf
env:
FEATURESV1 : ${{secrets.FEATURES_V1}}
FEATURESV2 : ${{secrets.FEATURES_V2}}
- name: Run tests
run: |
make coverage
env:
FEATKEY_DIR : /tmp
ASC_DOCKER_USER : ${{secrets.DOCKER_USER}}
ASC_DOCKER_PASS : ${{secrets.DOCKER_PASS}}