Skip to content

Commit

Permalink
.github: add nightly testing scenario
Browse files Browse the repository at this point in the history
This tests Cockpit nightly with `updates-testing` enabled.
  • Loading branch information
jelly committed Sep 8, 2023
1 parent eab0640 commit dbc67a9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: nightly
on:
schedule:
- cron: '0 1 * * *'
# can be run manually on https://github.com/cockpit-project/cockpit-podman/actions
workflow_dispatch:
jobs:
trigger:
permissions:
statuses: write
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Trigger updates-testing scenario
run: |
make bots
mkdir -p ~/.config/cockpit-dev
echo "${{ github.token }}" >> ~/.config/cockpit-dev/github-token
TEST_OS=$(PYTHONPATH=bots python3 -c 'from lib.constants import TEST_OS_DEFAULT; print(TEST_OS_DEFAULT)')
bots/tests-trigger --force "-" "${TEST_OS}/updates-testing"

0 comments on commit dbc67a9

Please sign in to comment.