Skip to content

Commit

Permalink
Fix CI (#295)
Browse files Browse the repository at this point in the history
* Add missing Python 3.10 conf

* Update pip

* Update build system section

* Update poetry installation

* Small enhancements

* Upgrade lock file (and thus dependencies)

Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
  • Loading branch information
tetienne and iMicknl committed Jan 5, 2022
1 parent 3c2ac6c commit 4291d31
Show file tree
Hide file tree
Showing 4 changed files with 277 additions and 284 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,18 @@ jobs:

steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
- name: Set up Python ${{ matrix.python-version }}
uses: "actions/setup-python@v2"
with:
python-version: "${{ matrix.python-version }}"

- name: Install and set up Poetry
run: |
curl -o get-poetry.py https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py
python get-poetry.py -y
- name: Set up Poetry
uses: Gr1N/setup-poetry@v7

- name: "Install tox"
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }}"
run: |
source $HOME/.poetry/env
python -m tox
run: python -m tox
Loading

0 comments on commit 4291d31

Please sign in to comment.