Skip to content

Sync test assets workflow with templates #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Aug 5, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
94c1820
Move integration test runs to dedicated workflow
per1234 Aug 4, 2021
683d54e
Move generated code sync check to dedicated workflow
per1234 Aug 4, 2021
78c8d43
Move tester build generation to dedicated workflow
per1234 Aug 4, 2021
94e425d
Use standardized filename for test runner workflow
per1234 Aug 4, 2021
5dc498b
Replace discouraged shell syntax in taskfile dynamic variable
per1234 Aug 5, 2021
745aa44
Use standardized name for build and test tasks
per1234 Aug 5, 2021
35421dd
Use Python dependency installation task in integration test task
per1234 Aug 5, 2021
f9a2457
Move build task to the `go:test-integration` task's `deps` key
per1234 Aug 5, 2021
e957cf5
Use standardized name for integration test folder
per1234 Aug 5, 2021
9c9f5b0
Remove project-specific references from integration test files
per1234 Aug 5, 2021
3b7e653
Improve formatting of integration test helper functions
per1234 Aug 5, 2021
bf9cb89
Make integration test work directory path canonical
per1234 Aug 5, 2021
59f0894
Clean up integration test working directory
per1234 Aug 5, 2021
db50dfd
Bump pytest integration testing dependency to ^6.2.4
per1234 Aug 5, 2021
6015029
Bump `invoke` integration test dependency to ^1.5.0
per1234 Aug 5, 2021
b338cfb
Add linebreaks to `go test` command
per1234 Aug 5, 2021
75ab8aa
Use more specific override variable name for unit test regex
per1234 Aug 5, 2021
fd35878
Fix error in `go test` command template
per1234 Aug 5, 2021
3bc729c
Add source URL comments to testing assets
per1234 Aug 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use standardized name for integration test folder
This is the naming convention established in the standardized template project assets.
  • Loading branch information
per1234 committed Aug 5, 2021
commit e957cf54f09d38ebde91462af40a490423642255
4 changes: 2 additions & 2 deletions .github/workflows/test-go-integration-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- "go.sum"
- "poetry.lock"
- "pyproject.toml"
- "test/**"
- "tests/**"
pull_request:
paths:
- ".github/workflows/test-go-integration-task.ya?ml"
Expand All @@ -20,7 +20,7 @@ on:
- "go.sum"
- "poetry.lock"
- "pyproject.toml"
- "test/**"
- "tests/**"

jobs:
test-go:
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ tasks:
- task: go:build
- task: poetry:install-deps
cmds:
- poetry run pytest test
- poetry run pytest tests

check:
desc: Lint and check formatting of all files
Expand Down
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ automatically.
To run specific tests, you must run `pytest` from the virtual environment created by Poetry.

```
poetry run pytest test/test_all.py::test_report_file
poetry run pytest tests/test_all.py::test_report_file
```

You can avoid writing the `poetry run` prefix each time by creating a new shell inside the virtual environment:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.