Skip to content

Commit

Permalink
update CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
pagmatt committed Mar 29, 2024
1 parent 12c4576 commit a5f85b6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
- name: Run pre-commit
uses: pre-commit/action@v2.0.3
uses: pre-commit/action@v3.0.1

build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# - name: Install system dependencies
# run: sudo apt-get install -y texlive-latex-base texlive-latex-extra context python3-tk
- name: Test with tox
run: |
pip install tox
tox -- --cov tikzplotlib --cov-report xml --cov-report term
- uses: codecov/codecov-action@v1
if: ${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest' }}
- uses: codecov/codecov-action@v4
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest' }}

0 comments on commit a5f85b6

Please sign in to comment.