Skip to content

Commit

Permalink
Merge pull request #43 from jwagantall/rtdv3-parser-fix
Browse files Browse the repository at this point in the history
Fix: Move lftools config file creation
  • Loading branch information
keanjapesan authored Aug 25, 2023
2 parents 17d15f1 + 65e1d4e commit dd3a434
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/compose-rtdv3-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,6 @@ jobs:
pip install lftools 'niet~=1.4.2' 'cryptography<3.4' yq tox
# urllib3 needs to be pinned to avoid timeouts
pip install --upgrade urllib3~=1.26.15
mkdir -p "${GITHUB_WORKSPACE}/.config/lftools"
cat << EOF > "${GITHUB_WORKSPACE}/.config/lftools/lftools.ini"
[rtd]
endpoint=https://readthedocs.org/api/v3/
token=${{ secrets.RTD_TOKEN }}
EOF
- name: Running tox
# yamllint disable rule:line-length
if: ${{ env.READTHEDOCS_FOUND == 'true' }}
Expand Down Expand Up @@ -140,6 +134,14 @@ jobs:
echo "---> Running rtdv3"
set -euo pipefail
# Creating lftools config file
mkdir -p "${GITHUB_WORKSPACE}/.config/lftools"
cat << EOF > "${GITHUB_WORKSPACE}/.config/lftools/lftools.ini"
[rtd]
endpoint=https://readthedocs.org/api/v3/
token=${{ secrets.RTD_TOKEN }}
EOF
watchbuild(){
echo "INFO: Running build against branch $1"
local buildid
Expand Down

0 comments on commit dd3a434

Please sign in to comment.