Bump pandas from 1.5.3 to 2.3.3 #1
This file contains hidden or 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
| # https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#caching-packages | ||
| name: run_script | ||
| on: [workflow_dispatch] # pull_request, push, workflow_dispatch | ||
| jobs: | ||
| ci: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| # hard-coded versions | ||
| # python-version: ["3.10.5"] | ||
| # poetry-version: ["1.1.13"] | ||
| os: [ubuntu-latest] | ||
| arch: ['x64'] | ||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - name: checkout repo content | ||
| uses: actions/checkout@v3 | ||
| - name: Read .tool-versions # dynamic versions | ||
| uses: marocchino/tool-versions-action@v1 | ||
| id: versions | ||
| - name: setup python | ||
| uses: actions/setup-python@v4 | ||
| id: cp310 | ||
| with: | ||
| python-version: ${{ steps.versions.outputs.python }} | ||
| architecture: ${{ matrix.arch }} | ||
| cache: 'poetry' # cache dependencies | ||
| - run: echo '${{ steps.cp310.outputs.cache-hit }}' # true if cache-hit occured on the primary key | ||
| - name: Install poetry & dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| python -m pip install poetry | ||
| poetry install | ||
| - name: run script | ||
| shell: bash | ||
| env: | ||
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # gh cli | ||
| username: ${{ secrets.USERNAME }} | ||
| run: | | ||
| poetry run python hello.py | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Install poetry | ||
| run: pipx install poetry | ||
| - uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: '3.9' | ||
| cache: 'poetry' | ||
| - run: poetry install | ||
| - run: poetry run pytest | ||