Skip to content

Commit

Permalink
tests: Run integration test in GitHub actions (#35)
Browse files Browse the repository at this point in the history
Run them on pull requests, and every Monday morning, to catch
regressions in operating systems and outside dependencies.
  • Loading branch information
martinpitt authored Oct 13, 2021
1 parent 1daeec1 commit 7aaf647
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Integration tests
on: # yamllint disable-line rule:truthy
pull_request:
# run them regularly, to catch changes in operating systems
schedule:
- cron: 0 4 * * MON

jobs:
ubuntu:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Install Ansible
run: sudo apt install -y ansible

- name: Run test playbook
run: |
cd tests
sudo ansible-playbook --connection=local --inventory localhost, tests_default.yml

0 comments on commit 7aaf647

Please sign in to comment.