-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (34 loc) · 1.27 KB
/
Copy pathintegration.yml
File metadata and controls
40 lines (34 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Integration tests against a live test wiki. Credentials come from the
# INTEGR_TEST_* secrets; where they are unavailable (e.g. forks), the
# credential fixtures make the tests skip instead of fail.
#
# Runs on every pull request into main, so breaking changes surface before the
# release job (gated separately by required review on the pypi environment)
# ever starts. No push trigger: a push to main is already covered by the PR
# that preceded it, so a second run would add nothing.
name: Integration
on:
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
# runs mutate the shared test wiki, so never run two in parallel
group: integration
cancel-in-progress: false
jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
# deep clone incl. tags so hatch-vcs can derive the version
fetch-depth: 0
- name: Set up the environment
uses: ./.github/actions/setup-python-env
- name: Run integration tests
env:
WIKI_DOMAIN: ${{ secrets.INTEGR_TEST_WIKI_DOMAIN }}
WIKI_USERNAME: ${{ secrets.INTEGR_TEST_WIKI_USERNAME }}
WIKI_PASSWORD: ${{ secrets.INTEGR_TEST_WIKI_PASSWORD }}
run: make test-integration