-
-
Notifications
You must be signed in to change notification settings - Fork 127
Add macos runner as part of the test matrix strategy #1713
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
Changes from 5 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4a92b4a
Add macos runner as part of the test matrix strategy
tdruez c4bd18b
Revert the base unit test workflow changes
tdruez fa702a7
Rename the workflow files for clarity and consistency
tdruez 4a9ff8c
Upgrade the workflow OS to ubuntu-24.04
tdruez e8f37d1
Simplify the test on Docker workflow
tdruez bdf8c97
Potential fix for code scanning alert no. 20: Workflow does not conta…
tdruez f8e4fea
Refine the workflow triggers
tdruez 1472ea3
Add the macOS unit tests workflow
tdruez e85f257
Use Docker to start a Postgres service
tdruez 964b33b
Improve the name of the jobs
tdruez 31e7e6a
Use an action to start postgres
tdruez fbb9f4c
Use an action to start postgres
tdruez 8764fc3
Add permissions and remove debug statements
tdruez 58ea556
Improve failing tests
tdruez cb8aa53
Improve failing tests
tdruez 237a9e1
Put back the FROM_DOCKER_IMAGE in docker command
tdruez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: Run unit tests on Docker container | ||
|
|
||
| on: [push, pull_request] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-24.04 | ||
| env: | ||
| FROM_DOCKER_IMAGE: "1" | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Generate the .env file and the SECRET_KEY | ||
| run: make envfile | ||
|
|
||
| - name: Run tests | ||
| run: docker compose run web python ./manage.py test --verbosity=2 --noinput | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.