Merge pull request #271 from sacridini/patch-1 #260
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
name: Latest Versions | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
container: ghcr.io/geocompx/docker:python | |
defaults: | |
run: | |
shell: bash -l {0} | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
# Install dependencies with pip and ignoring pinned versions: | |
pip install pur | |
# Update requirements.txt with pur: | |
pur -r requirements.txt --pre osmnx | |
# Update all packages (could also try --force-reinstall): | |
# See https://pip.pypa.io/en/stable/development/architecture/upgrade-options/ | |
pip install -U --upgrade-strategy eager -r requirements.txt | |
- name: Render | |
run: | | |
# test code: | |
quarto render | |
ls docs |