This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
Remove rtd action from scsgha #239
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
name: "CTT" | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
ctt-test: | |
name: "Test" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
- name: "Install Redis" | |
run: "sudo apt install redis" | |
- name: "Install Poetry" | |
run: "pipx install poetry" | |
- uses: "actions/setup-python@v5" | |
with: | |
cache: "poetry" | |
- name: "Install dependencies" | |
run: "poetry install --all-extras" | |
- name: "Run CTT" | |
run: "poetry run ctt" | |
env: | |
TERM: "xterm" | |
GH_TOKEN: "${{github.token}}" | |
- name: "Record CTT debug artifacts" | |
if: "always()" | |
uses: "actions/upload-artifact@v4" | |
with: | |
name: "ctt-artifacts" | |
path: ".ctt/.artifacts/artifacts.zip" |