Skip to content

Commit

Permalink
Using updated setup-python action.
Browse files Browse the repository at this point in the history
  • Loading branch information
donfiguerres committed Jul 13, 2022
1 parent c910f02 commit f5d539c
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/ci.yml
Expand Up @@ -11,21 +11,14 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v2
- uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
export PATH="$HOME/.poetry/bin:$PATH"
poetry install
- name: Run pylint
run: |
export PATH="$HOME/.poetry/bin:$PATH"
poetry run make lint
cache: 'poetry'
- name: Run linting
run: poetry run make lint
- name: Run tests
run: |
export PATH="$HOME/.poetry/bin:$PATH"
poetry run make test
run: poetry run make test

0 comments on commit f5d539c

Please sign in to comment.