Skip to content

Commit

Permalink
Add func test to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Deezzir committed Sep 12, 2024
1 parent 19faa11 commit 9774fde
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ jobs:
run: |
sudo apt update
sudo apt install -y yamllint
pipx install tox
- name: Lint yaml files
run: |
yamllint .yamllint snap/snapcraft.yaml
run: yamllint .yamllint snap/snapcraft.yaml

- name: Lint tests
run: tox -e lint

build:
runs-on: ubuntu-22.04
Expand All @@ -45,3 +48,15 @@ jobs:

- name: Verify snap builds successfully
uses: snapcore/action-build@v1

func:
needs:
- lint
- build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies

- name: Run tests
run: tox -e func

0 comments on commit 9774fde

Please sign in to comment.