Skip to content

Commit

Permalink
ci: replaced python_version matrix var with `python-version-file: p…
Browse files Browse the repository at this point in the history
…yproject.toml`
  • Loading branch information
ErikBjare committed Dec 6, 2023
1 parent ca1a075 commit 3c90f6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-latest, macOS-11]
python_version: [3.11]
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
python-version-file: pyproject.toml
cache: 'poetry'
- name: Create virtualenv
shell: bash
run: |
python -m venv venv
- name: Install dependencies
shell: bash
run: |
pip install poetry==1.3.2 # due to: https://github.com/python-poetry/poetry/issues/7611
pipx install poetry==1.3.2 # due to: https://github.com/python-poetry/poetry/issues/7611
source venv/bin/activate || source venv/Scripts/activate
poetry install
- name: Run tests
Expand All @@ -50,5 +50,5 @@ jobs:
- name: Upload package
uses: actions/upload-artifact@v2
with:
name: aw-notify-${{ runner.os }}-py${{ matrix.python_version }}
name: aw-notify-${{ runner.os }}
path: dist/aw-notify

0 comments on commit 3c90f6f

Please sign in to comment.