Skip to content

Commit

Permalink
simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
daniperez committed Jan 12, 2024
1 parent e03a03e commit ab14864
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 38 deletions.
File renamed without changes.
33 changes: 0 additions & 33 deletions .github/workflows/test-mac.yml

This file was deleted.

12 changes: 7 additions & 5 deletions .github/workflows/test-win.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ permissions:
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.x
Expand All @@ -19,15 +22,14 @@ jobs:
python-version: "3.7"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build
python -m pip install --upgrade pip build
- name: Build wheel & install
run: |
python -m build
$VALE_VERSION = (Get-Content pyproject.toml | Select-String '^version').ToString().Split('"')[1]
Write-Host "Installing $VALE_VERSION ..."
ls ./dist/*
export VALE_VERSION="$(cat pyproject.toml | grep "^version" | cut -d " " -f 3 | sed -e "s/\"//g")"
echo "Installing $VALE_VERSION ..."
python -m pip install -v "./dist/vale-$VALE_VERSION-py3-none-any.whl"
- name: Test Vale
working-directory: ${{ runner.temp }}
run: |
vale --help

0 comments on commit ab14864

Please sign in to comment.