Skip to content

remove trimmed publish #1525

remove trimmed publish

remove trimmed publish #1525

Workflow file for this run

---

Check failure on line 1 in .github/workflows/local-run.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/local-run.yaml

Invalid workflow file

`false` is not a valid event name
name: Test nitric run
# disabled test for now
on: false
# on:
# push:
# branches:
# - main
# - develop
# pull_request:
concurrency:
group: ci-local-tests-${{ github.ref_name }}
cancel-in-progress: true
env:
GOPROXY: https://proxy.golang.org
FATHOM_SITE: ${{ vars.FATHOM_SITE }}
jobs:
nitric-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: cli
- name: checkout the test app
uses: actions/checkout@v3
with:
repository: nitrictech/test-app
path: test-app
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Build Nitric
run: |
cd ${{ github.workspace }}/cli
make build
mv bin/nitric $(go env GOPATH)/bin/nitric
- name: Run nitric-run in the background
run: |
cd ${{ github.workspace }}/test-app
nitric run --ci &
- name: Run Tests
run: |
cd ${{ github.workspace }}/test-app
make test
env:
BASE_URL: http://localhost:4001
TOPIC_BASE_URL: "http://localhost:4000/topic"
- name: Archive logfile
uses: actions/upload-artifact@v3
if: failure()
with:
name: nitric-run-logs
path: ${{ github.workspace }}/test-app/.nitric/*.log