Skip to content

Commit

Permalink
Fix codecov (#265)
Browse files Browse the repository at this point in the history
* fix codecov

* drop Python 3.6
  • Loading branch information
kigawas authored May 28, 2022
1 parent ecc3e81 commit 15b9faa
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 126 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
python-version: "3.10"
- uses: abatilo/[email protected]
with:
poetry-version: 1.1.11
poetry-version: 1.1.13
- name: Upload to pypi
run: |
poetry build
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,28 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/[email protected]
with:
poetry-version: 1.1.11
poetry-version: 1.1.13
- uses: actions/cache@v2
with:
path: |
~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}

- run: brew install automake
if: matrix.os == 'macos-latest'

- run: poetry install --no-dev
- name: Run test
run: |
./scripts/ci.sh

- run: ./scripts/ci.sh

- uses: codecov/codecov-action@v2

- run: poetry build
Loading

0 comments on commit 15b9faa

Please sign in to comment.