Skip to content

remove issue-project linking workflow #45

remove issue-project linking workflow

remove issue-project linking workflow #45

Workflow file for this run

name: tests
on:
workflow_dispatch:
push:
branches:
- main
- development
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Cache MNIST
id: cache-mnist
uses: actions/cache@v2
with:
path: ./data/MNIST
key: mnist
- name: Cache Fast-downward build
id: cache-fast-downward-build
uses: actions/cache@v2
with:
path: ./dacbench/envs/rl-plan/fast-downward
key: fast-downward-build
- name: Install Python 3
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e.[dev,all]
- name: Build fast-downward
run: ./dacbench/envs/rl-plan/fast-downward/build.py
- name: Run tests with pytest
run: coverage run -m pytest --html=test-report.html
- name: Run coverage
run: |
coverage report
coverage html
- name: Archive code coverage results
uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: code-coverage-report
path: coverage_report
- name: Archive test report
uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: test-report
path: |
test-report.html
assets