Skip to content

Commit

Permalink
update testing action for pip-tools reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Nov 3, 2022
1 parent ae84b35 commit 5749d8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/testing.yml
Expand Up @@ -33,12 +33,14 @@ jobs:
flake8 --count --exit-zero --max-complexity=20 --statistics ${{ matrix.package }}
test:
name: ${{ matrix.package }} (${{ matrix.os }}/py${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
package: ["emmet-core", "emmet-builders", "emmet-api"]
python-version: [3.8, 3.9, 3.10]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -93,11 +95,8 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip pip-tools
pip install -r requirements-docs.txt
pip install -r requirements.txt
pip install -e emmet-core/
pip install -e emmet-builders/
pip install -e emmet-api/
pip-sync emmet-*/requirements/ubuntu-latest_py3.9_extras.txt docs/requirements.txt
pip install --no-deps -e emmet-core emmet-api emmet-builders
- name: Build
run: mkdocs build
6 changes: 3 additions & 3 deletions .github/workflows/upgrade-dependencies.yml
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['windows-latest'] #, 'ubuntu-latest', 'macos-latest']
package: ["emmet-core"] #, "emmet-builders", "emmet-api"]
python-version: ["3.8"] #, "3.9", "3.10"]
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
package: ["emmet-core", "emmet-builders", "emmet-api"]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down

0 comments on commit 5749d8e

Please sign in to comment.