summaryrefslogtreecommitdiff
path: root/.github/workflows/scheduled.yml
diff options
context:
space:
mode:
authorAlberto Contreras <alberto.contreras@canonical.com>2023-05-08 23:17:17 +0200
committerGitHub <noreply@github.com>2023-05-08 16:17:17 -0500
commit4d28d203ff03dc4a4994ad223e769d2460f83a57 (patch)
tree1d21f25f88ddf03b739d79825295eac5b94418a0 /.github/workflows/scheduled.yml
parenta18442af33ed8c47d6b61436e9259010fd1f4612 (diff)
downloadcloud-init-git-4d28d203ff03dc4a4994ad223e769d2460f83a57.tar.gz
ci: add hypothesis scheduled GH check (#2149)
Diffstat (limited to '.github/workflows/scheduled.yml')
-rw-r--r--.github/workflows/scheduled.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml
new file mode 100644
index 00000000..ac4af1e7
--- /dev/null
+++ b/.github/workflows/scheduled.yml
@@ -0,0 +1,32 @@
+name: scheduled
+on:
+ schedule:
+ - cron: '3 14 * * *'
+concurrency:
+ group: 'ci-${{ github.workflow }}-${{ github.ref }}'
+ cancel-in-progress: true
+
+jobs:
+ unittests:
+ strategy:
+ matrix:
+ toxenv: [ hypothesis-slow ]
+ name: unittest / ${{ matrix.toxenv }}
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ # Fetch all tags for tools/read-version
+ fetch-depth: 0
+ - name: Install dependencies
+ env:
+ DEBIAN_FRONTEND: noninteractive
+ run: |
+ sudo apt-get -qy update
+ sudo apt-get -qy install tox
+ - name: Run fuzztest
+ env:
+ PYTEST_ADDOPTS: -v
+ HYPOTHESIS_PROFILE: ci
+ run: tox -e ${{ matrix.toxenv }}