-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from scrapli/develop
Prepare 2022.01.30 Release
- Loading branch information
Showing
18 changed files
with
98 additions
and
83 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ jobs: | |
max-parallel: 1 | ||
matrix: | ||
os: [ubuntu-latest] | ||
version: [3.9] | ||
version: ["3.10"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up python ${{ matrix.version }} | ||
|
@@ -27,10 +27,10 @@ jobs: | |
build_posix: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
max-parallel: 12 | ||
max-parallel: 8 | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
version: [3.6, 3.7, 3.8, 3.9, 3.10.0-beta.4] | ||
version: ["3.7", "3.8", "3.9", "3.10"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up python ${{ matrix.version }} | ||
|
@@ -42,11 +42,11 @@ jobs: | |
# version we are targeting with nox, while still having versions like 3.9.0a4 | ||
run: | | ||
echo "FRIENDLY_PYTHON_VERSION=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")" >> $GITHUB_ENV | ||
- name: install libxml2 and libxslt seems to only be needed for 3.9+ image for some reason | ||
if: matrix.os == 'ubuntu-latest' && matrix.version == '3.9' || matrix.os == 'ubuntu-latest' && matrix.version == '3.10.0-beta.4' | ||
- name: ensure openssl installed for macos | ||
# openssl missing/being linked incorrectly causes ssh2-python install failures | ||
if: matrix.os == 'macos-latest' | ||
run: | | ||
sudo apt install libxml2-dev | ||
sudo apt install libxslt-dev | ||
brew install openssl | ||
- name: setup test env | ||
run: | | ||
python -m pip install --upgrade pip | ||
|
@@ -63,7 +63,18 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- run: docker run -v $(pwd):/docs --entrypoint "" squidfunk/mkdocs-material:latest ash -c 'pip install mdx_gh_links && mkdocs build --clean --strict' | ||
- name: Cache htmltest external links | ||
uses: actions/cache@v2 | ||
with: | ||
path: tmp/.htmltest | ||
# key will contain hash of all md files to check if files have changed | ||
# when files are changed, a new key name is formed, and thus a new cache will be saved | ||
key: htmltest-${{ hashFiles('docs/**/*.md') }} | ||
# the restore key will fetch any previously saved cache even if there is no match on key | ||
# this allows to use cache from prev runs and update it | ||
restore-keys: | | ||
htmltest- | ||
- name: htmltest | ||
run: | | ||
curl https://htmltest.wjdp.uk | bash | ||
./bin/htmltest -c docs/htmltest.yml | ||
uses: wjdp/[email protected] | ||
with: | ||
config: docs/htmltest.yml |
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
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
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
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.