Skip to content

Commit

Permalink
run tests in github
Browse files Browse the repository at this point in the history
  • Loading branch information
chrira committed Aug 19, 2024
1 parent d108425 commit 2d9891b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Dagger test

on:
push:

env:
# The Dagger CLI uses the DAGGER_CLOUD_TOKEN environment variable to authenticate with Dagger Cloud
DAGGER_CLOUD_TOKEN: ${{ secrets.DAGGER_CLOUD_TOKEN }}

jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dagger CLI
run: cd /usr/local && { curl -L https://dl.dagger.io/dagger/install.sh | sh; cd -; }
- name: Display module functions
run: dagger functions -m helm/
- name: Run module tests
run: dagger -m tests/ call test

0 comments on commit 2d9891b

Please sign in to comment.