phette23 / marcgreppy

search for patterns in MARC files
1 stars 0 forks source link

Pipx on Ubuntu images #2

Open klinga opened 3 months ago

klinga commented 3 months ago

FYI, GitHub Actions runner images include pipx, which means the package manager is available on Ubuntu out of the box. I was surprised to see it. I thought it could be beneficial with your CI/CD.

Cheers!

phette23 commented 3 months ago

Oh interesting! I didn't know that, and reading the actions images repo is pretty informative. I'm not sure it fits into my CI/CD since poetry manages all that and it uses the local repo instead of PyPI but very good to know.

klinga commented 3 months ago

I was thinking about this step in your actions:

            - uses: snok/install-poetry@v1
              with:
                version: 1.8.2

but I did not look too closely at this particular action, so I may be missing something. Looks like installing poetry via pipx is something poetry recommends for CI. Just thought you also may find it interesting.