Skip to content

Commit

Permalink
test: add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
MaferMazu committed May 21, 2024
1 parent f262f4a commit e119442
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Integration
on: [pull_request]

jobs:
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: eduNEXT/integration-test-in-tutor@mfmz/github-action
with:
tutor_version: ["<17.0.0", "<18.0.0"]
path: "eox-hooks"
shell_file_to_run: "eox_hooks/tests/integration.sh"
5 changes: 5 additions & 0 deletions eox_hooks/tests/integration.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# install the package in the edxapp env
echo "Install package"
pip install -e ../eox-hooks

0 comments on commit e119442

Please sign in to comment.