Skip to content

fix: merge conflict (#28) #100

fix: merge conflict (#28)

fix: merge conflict (#28) #100

Workflow file for this run

name: Unit and Integration Tests
on:
push:
branches:
- '**'
defaults:
run:
shell: bash
env:
FORCE_COLOR: true
TEST_DATA_HOME: /home/runner/nxbench-tests/
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Cache Test Data
uses: actions/cache@v4
with:
path: /home/runner/nxbench-tests/
key: data-v0
restore-keys: |
data-v0
- name: Run tests
run: |
make test
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v5
if: ${{ always() }}
with:
files: cov.xml
token: ${{ secrets.CODECOV_TOKEN }}
slug: dPys/nxbench