-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
1,521 additions
and
230 deletions.
There are no files selected for viewing
This file contains 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,10 @@ | ||
[test-groups] | ||
run-in-isolation = { max-threads = 32 } | ||
# these are tests that must not run with other tests concurrently. All tests in | ||
# this group can take up at most 32 threads among them, but each one requiring | ||
# 16 threads also. The effect should be that tests run isolated. | ||
|
||
[[profile.ci.overrides]] | ||
filter = 'test(::run_in_isolation::)' | ||
test-group = 'run-in-isolation' | ||
threads-required = 32 |
This file contains 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,13 @@ | ||
# Keep GitHub Actions up to date with GitHub's Dependabot... | ||
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot | ||
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
groups: | ||
github-actions: | ||
patterns: | ||
- "*" # Group all Actions updates into a single larger pull request | ||
schedule: | ||
interval: weekly |
This file contains 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,18 @@ | ||
## Description | ||
|
||
<!-- A summary of what this pull request achieves and a rough list of changes. --> | ||
|
||
## Breaking Changes | ||
|
||
<!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> | ||
|
||
## Notes & open questions | ||
|
||
<!-- Any notes, remarks or open questions you have to make about the PR. --> | ||
|
||
## Change checklist | ||
|
||
- [ ] Self-review. | ||
- [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. | ||
- [ ] Tests if relevant. | ||
- [ ] All breaking changes documented. |
This file contains 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,43 @@ | ||
# Run tests using the beta Rust compiler | ||
|
||
name: Beta Rust | ||
|
||
on: | ||
schedule: | ||
# 06:50 UTC every Monday | ||
- cron: '50 6 * * 1' | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: beta-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
IROH_FORCE_STAGING_RELAYS: "1" | ||
|
||
jobs: | ||
tests: | ||
uses: './.github/workflows/tests.yaml' | ||
with: | ||
rust-version: beta | ||
notify: | ||
needs: tests | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Extract test results | ||
run: | | ||
printf '${{ toJSON(needs) }}\n' | ||
result=$(echo '${{ toJSON(needs) }}' | jq -r .tests.result) | ||
echo TESTS_RESULT=$result | ||
echo "TESTS_RESULT=$result" >>"$GITHUB_ENV" | ||
- name: Notify discord on failure | ||
uses: n0-computer/discord-webhook-notify@v1 | ||
if: ${{ env.TESTS_RESULT == 'failure' }} | ||
with: | ||
severity: error | ||
details: | | ||
Rustc beta tests failed | ||
See https://github.com/n0-computer/iroh/actions/workflows/beta.yaml | ||
webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }} | ||
|
Oops, something went wrong.