Skip to content

Commit

Permalink
feat: gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ratik committed Dec 12, 2023
1 parent 0de3856 commit 853f2b3
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,35 @@ jobs:
- run: cargo build
- run: cargo test --verbose --all
env:
RUST_BACKTRACE: 1
RUST_BACKTRACE: 1
integration-test:
name: Actions - integration test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.73.0
profile: minimal
- run: make build
- name: Setup node
uses: actions/setup-node@v3
with:
cache: 'yarn'
- name: Lint
run: cd integration_tests && yarn --ignore-engines && yarn lint
- name: Build image
uses: borales/actions-yarn@v4
with:
cmd: build-images
dir: integration_tests
- name: Run tests
uses: borales/actions-yarn@v4
with:
cmd: test
dir: integration_tests

0 comments on commit 853f2b3

Please sign in to comment.