-
Notifications
You must be signed in to change notification settings - Fork 989
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
178 changed files
with
9,787 additions
and
2,853 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
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,24 @@ | ||
|
||
name: Publish docs | ||
on: | ||
push: | ||
branches: | ||
- master | ||
permissions: | ||
contents: write | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build docs | ||
run: make copy_docs | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- uses: actions/cache@v2 | ||
with: | ||
key: ${{ github.ref }} | ||
path: .cache | ||
- run: pip install mkdocs==1.4.2 mkdocs-material==9.1.5 mdx-truly-sane-lists==1.3 mkdocs-awesome-pages-plugin==2.8.0 | ||
- run: mkdocs gh-deploy --force |
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 |
---|---|---|
|
@@ -6,10 +6,8 @@ defaults: | |
|
||
env: | ||
TEST_PRESET_TYPE: "minimal" | ||
DEFAULT_BRANCH: "dev" | ||
|
||
# Run tests on workflow_Dispatch | ||
on: | ||
on: | ||
push: | ||
branches: | ||
- dev | ||
|
@@ -22,10 +20,6 @@ on: | |
description: Type of test to run, either mainnet or minimal | ||
type: string | ||
required: true | ||
commitRef: | ||
description: The branch, tag or SHA to checkout and build from | ||
default: dev | ||
required: true | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
|
@@ -47,19 +41,15 @@ jobs: | |
steps: | ||
- name: Checkout this repo | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }} | ||
- name: Check table of contents | ||
run: sudo npm install -g doctoc@2 && make check_toc | ||
run: sudo npm install -g doctoc@2.2.0 && make check_toc | ||
|
||
codespell: | ||
runs-on: self-hosted | ||
needs: preclear | ||
steps: | ||
- name: Checkout this repo | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }} | ||
- name: Check codespell | ||
run: pip install 'codespell<3.0.0,>=2.0.0' --user && make codespell | ||
|
||
|
@@ -69,8 +59,6 @@ jobs: | |
steps: | ||
- name: Checkout this repo | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }} | ||
- name: Install pyspec requirements | ||
run: make install_test | ||
- name: Run linter for pyspec | ||
|
@@ -83,12 +71,10 @@ jobs: | |
needs: [preclear,lint,codespell,table_of_contents] | ||
strategy: | ||
matrix: | ||
version: ["phase0", "altair", "bellatrix", "capella", "deneb"] | ||
version: ["phase0", "altair", "bellatrix", "capella", "deneb", "eip6110", "eip7002"] | ||
steps: | ||
- name: Checkout this repo | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }} | ||
- name: set TEST_PRESET_TYPE | ||
if: github.event.inputs.test_preset_type != '' | ||
run: | | ||
|
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
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
Oops, something went wrong.