Skip to content

Commit

Permalink
Run actions in venvs
Browse files Browse the repository at this point in the history
  • Loading branch information
dechamps committed Nov 13, 2023
1 parent 54d5107 commit a0eaa38
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install build
- run: python -m build --sdist
- run: python -m venv .venv
- run: .venv/bin/pip install build
- run: .venv/bin/python -m build --sdist
- uses: actions/upload-artifact@v3
with:
name: sdist
Expand All @@ -19,6 +20,7 @@ jobs:
with:
name: sdist
- run: tar --gzip --extract --verbose --strip-components=1 --file videojitter-*.tar.gz
- run: pip install --requirement pylint-requirements.txt --requirement requirements.txt
- run: python -m venv .venv
- run: .venv/bin/pip install --requirement pylint-requirements.txt --requirement requirements.txt
# TODO: also pylint the test code
- run: pylint src
- run: .venv/bin/pylint src

0 comments on commit a0eaa38

Please sign in to comment.