Skip to content

Commit

Permalink
Merge pull request #54 from ripe-tech/hg/github_actions
Browse files Browse the repository at this point in the history
feat: migrate from python container based approach to setup-python
  • Loading branch information
3rdvision committed Jul 27, 2023
2 parents 9088510 + 2ee4663 commit bf39259
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ jobs:
matrix:
python-version: [3.5]
runs-on: ubuntu-latest
container: python:${{ matrix.python-version }}
steps:
- uses: actions/checkout@v1
- run: python --version
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install -r requirements.txt
- run: python setup.py test
- run: pip install twine wheel
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ jobs:
name: Build
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "rc"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
container: python:${{ matrix.python-version }}
steps:
- uses: actions/checkout@v1
- run: python --version
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install -r requirements.txt
- run: |
pip install pylint
Expand Down

0 comments on commit bf39259

Please sign in to comment.