Skip to content

Bumps backend version to support non-owning temporary references #22

Bumps backend version to support non-owning temporary references

Bumps backend version to support non-owning temporary references #22

Workflow file for this run

name: Run All Tests
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
test:
runs-on: ubuntu-latest
container: adiharif/graphir-dep
steps:
- uses: actions/checkout@v4
- name: Install Python Dependencies
run: pip install pandas matplotlib --break-system-packages
- name: Install Git Dependencies
run: git submodule update --init --recursive
- name: Install NPM Packages
run: npm ci
- name: Build Project
run: npm run build
- name: Run Tests
run: npm test -- --runInBand
- name: Fetch Previous Benchmark Results
uses: dawidd6/action-download-artifact@v6
with:
branch: ${{ github.ref_name }}
path: prev
check_artifacts: true
if_no_artifact_found: warn
- name: Generate Benchmarks Column Chart
run: |
CMD="python3 scripts/benchmarks.py -i benchmarks.csv -o benchmarks_chart.png"
if [ -d prev ]; then
CMD="$CMD --prev prev/tests-results/benchmarks.csv"
fi
$CMD
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: tests-results
path: |
jest_html_reporters.html
benchmarks.csv
benchmarks_chart.png
sudoku_benchmarks.csv