Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: replaced python_version matrix var with `python-version-file: p… #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ on:

jobs:
build:
name: Test on ${{ matrix.os }} (py-${{ matrix.python_version }})
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-22.04", "windows-latest", "macOS-latest"]
python_version: [3.9]
node_version: [16]
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
python-version-file: pyproject.toml
cache: 'poetry'
- name: Setup Node.js
uses: actions/setup-node@v1
with:
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies
shell: bash
run: |
pip install poetry
pipx install poetry
source venv/bin/activate || source venv/Scripts/activate
poetry install
- name: Build visualization
Expand All @@ -60,5 +60,5 @@ jobs:
- name: Upload package
uses: actions/upload-artifact@v2
with:
name: aw-watcher-input-${{ runner.os }}-py${{ matrix.python_version }}
name: aw-watcher-input-${{ runner.os }}
path: dist/aw-watcher-input
Loading