Skip to content
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

Fix eng content tests; run tests via GitHub Actions #263

Merged
merged 3 commits into from
Jun 27, 2024
Merged

Fix eng content tests; run tests via GitHub Actions #263

merged 3 commits into from
Jun 27, 2024

Conversation

alexandear
Copy link
Contributor

Follows #262

alexandear and others added 3 commits June 27, 2024 10:07
* Add GitHub Actions workflow that runs tests on a PR

* Remove all _content/tour/*/content_test.go files except eng

* Move _content/tour/eng/content_test.go to the root

Fix package name: content -> website.
Walk over _content/tour instead of .

* Replace deprecated io/ioutil with os

* Fix test by replacing // +build with //go:build

* Rename TestContent to TestContentTour

* Fix tests in eng

* Do not run maps/example8.go

* Do not run channels/example10.go

* Do not run context/answer1.go

* Do not run context/example5.go

* Run only eng tests

* Revert localization changes
@ardan-bkennedy ardan-bkennedy merged commit 6df635f into ardanlabs:main Jun 27, 2024
1 check passed
@alexandear alexandear deleted the fix/eng-content-tests branch June 27, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants