Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: test

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
pull_request:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
prt-test:
runs-on: ubuntu-latest

container:
image: rpgoldman/popper-prt:latest

steps:
- name: checkout-popper
uses: actions/checkout@v3

- name: install-popper
run: pip install --break-system-packages .

- name: configure tests
run: |
echo "POPPER_DIR=${GITHUB_WORKSPACE}\nPOPPER_PYTHON=/usr/bin/python3" >> $GITHUB_ENV

- name: run-prt-tests
run: |
cd /popper-prt
prt

- name: Upload results
uses: actions/upload-artifact@v4
if: always()
with:
name: prt results directories
path: /popper-prt/results