Skip to content

Commit

Permalink
add dummy netrc to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstanie committed Oct 31, 2023
1 parent 199d858 commit e2f4301
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ jobs:
python -m pip install --upgrade pip
python -m pip install requests click python-dateutil pytest pytest-recording
python -m pip install .
- name: Setup Dummy ~/.netrc file
run: |
mkdir -p ~/.netrc
echo "machine urs.earthdata.nasa.gov" >> ~/.netrc
echo " login asdf" >> ~/.netrc
echo " password asdf" >> ~/.netrc
echo "machine dataspace.copernicus.eu" >> ~/.netrc
echo " login asdf" >> ~/.netrc
echo " password asdf" >> ~/.netrc
chmod 600 ~/.netrc
- name: Test with pytest
run: |
python -m pytest -v --doctest-modules --ignore=eof/__main__.py

0 comments on commit e2f4301

Please sign in to comment.