Merge branch 'main' of https://github.com/twin-bridges/gne #29
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: Testing GH Actions | |
on: | |
- push | |
jobs: | |
poetry-deps: | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
platform: ["ubuntu-22.04"] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: | | |
pipx install poetry | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'poetry' | |
- name: Install dependencies | |
run: | | |
poetry install --no-root | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- name: Display installed packages | |
run: poetry run pip list | |
- name: Display installed packages (straight pip) | |
run: pip list | |