-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: move files * chore: update header paths * ci: split and rename workflows fix: include path * ci: add test workflow * ci: rename workflows * ci: temprorarily disable path selector * ci: rename workflows * ci: add names to workflows * ci: try using python3 as shell ci: use python3 * fix: missing include * ci: fix execution ci: log files chore: debug chore chore * ci: re-enable path scope * docs: fix path to header-only includes Use generated path, not /header-only * ci: use single line * ci: test no path selector again
- Loading branch information
Showing
17 changed files
with
85 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ env: | |
jobs: | ||
coverage: | ||
runs-on: ubuntu-20.04 | ||
name: Run Codecov | ||
|
||
env: | ||
PIP_ONLY_BINARY: cmake | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Header-only Tests | ||
|
||
on: | ||
pull_request: | ||
# paths: | ||
# - 'header-only' | ||
|
||
workflow_dispatch: | ||
|
||
|
||
concurrency: | ||
group: header-only-test-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
name: "Run Tests" | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- name: Run CMake | ||
run: | | ||
cmake -B build -S header-only/tests -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=bin -DCMAKE_BUILD_TYPE=Release | ||
cmake --build build/ | ||
- name: Run tests | ||
run: | | ||
import os | ||
import pathlib | ||
import subprocess | ||
for path in pathlib.Path("build/bin").glob("test_*"): | ||
if path.is_file(): | ||
print(f"Running {path.name}", flush=True) | ||
print("::group::Test output", flush=True) | ||
subprocess.run([path], check=True) | ||
print("::endgroup::", flush=True) | ||
shell: python3 {0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
|
||
concurrency: | ||
group: lint-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
pylint: | ||
name: "Run PyLint" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- name: Run PyLint | ||
run: | | ||
echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json" | ||
pipx run nox -s pylint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
#include <algorithm> | ||
#include <tuple> | ||
#include <string> | ||
#include <functional> | ||
|
||
namespace awkward { | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.