Skip to content

Commit

Permalink
run on container
Browse files Browse the repository at this point in the history
  • Loading branch information
stikkireddy committed Aug 4, 2023
1 parent 5f1cf46 commit 6c3047a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/onpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:
jobs:
test-pipeline:
runs-on: ${{ matrix.os }}
# container:
# image: python:${{ matrix.python-version }}
# options: --user 1001 # run as the runner user instead of root
container:
image: python:${{ matrix.python-version }}
options: --user 1001 # run as the runner user instead of root
strategy:
max-parallel: 2
matrix:
Expand All @@ -21,12 +21,12 @@ jobs:
steps:
- uses: actions/checkout@v3 # use latest version of the checkout action

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
cache-dependency-path: poetry.lock
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# cache: 'pip' # caching pip dependencies
# cache-dependency-path: poetry.lock

- name: Install pip
run: python -m pip install --upgrade pip
Expand Down

0 comments on commit 6c3047a

Please sign in to comment.