Skip to content

Commit

Permalink
fix(actions)
Browse files Browse the repository at this point in the history
  • Loading branch information
MPavicevic committed May 3, 2023
1 parent 2643fe7 commit 54c9a1c
Showing 1 changed file with 11 additions and 43 deletions.
54 changes: 11 additions & 43 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.9]
python-version: [3.9, 3.10, 3.11]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.9]
python-version: [3.9, 3.10, 3.11]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -48,45 +48,13 @@ jobs:
run: make install
- name: Run tests
run: make test
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
run: |
# Replace `linux` below with the appropriate OS
# Options are `alpine`, `linux`, `macos`, `windows`
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${cf50c66f-d26e-4fe9-a67d-21a389574a91}
# with:
# fail_ci_if_error: true

tests_mac:
needs: linter
strategy:
fail-fast: false
matrix:
python-version: [3.9]
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dispa-LINK
run: make install
- name: Run tests
run: make test

tests_win:
needs: linter
strategy:
fail-fast: false
matrix:
python-version: [3.9]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Pip
run: pip install --user --upgrade pip
- name: Install Dispa-LINK
run: pip install -e .[test]
- name: run tests
run: pytest -s -vvvv -l --tb=long tests
# fail_ci_if_error: true

0 comments on commit 54c9a1c

Please sign in to comment.