Skip to content

Commit 2e960dd

Browse files
authored
Merge pull request #839 from strictdoc-project/stanislaw/pyinstaller
tests/integration: run strictdoc without any args to attest the PyInstaller bug
2 parents 3e367f2 + dfdb901 commit 2e960dd

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

.github/workflows/periodic-integration-test.yml renamed to .github/workflows/periodic-integration-test-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Periodic Integration Test
2+
name: Periodic Integration Test (Linux)
33
on:
44
schedule:
55
- cron: "00 00 * * *"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Periodic Integration Test (macOS)
3+
on:
4+
schedule:
5+
- cron: "00 00 * * *"
6+
pull_request:
7+
branches: [ "**" ]
8+
9+
jobs:
10+
periodic_integration_test:
11+
name: Periodic integration test
12+
runs-on: macOS-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Set up Python 3.
17+
uses: actions/setup-python@v2
18+
with:
19+
# python-version: '3.x'
20+
python-version: '3.10'
21+
22+
- name: Install release task dependencies
23+
run: |
24+
pip install --upgrade pip setuptools invoke
25+
26+
- name: Build and test locally
27+
run: |
28+
invoke release-local
29+
30+
- name: Build and test using PyInstaller
31+
run: |
32+
invoke release-pyinstaller
33+
invoke test-integration --strictdoc /tmp/strictdoc/strictdoc/strictdoc
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
RUN: %expect_exit 2 %strictdoc 2>&1 | filecheck %s --dump-input=fail
2+
3+
CHECK: strictdoc: error: the following arguments are required: command

0 commit comments

Comments
 (0)