Skip to content

Commit

Permalink
CI: skip syntax & highlight tests on PRs for themes
Browse files Browse the repository at this point in the history
In order to keep the PR diff to the point. I plan to update syntax &
highlight regression tests on the merge commit.

Plus, syntax tests passed on the first run of CI, but they shouldn't.
I've changed the scope names for most classes yet I haven't updated
syntax tests.

Possibly an issue with the caching? I must look into this asap.
  • Loading branch information
victor-gp committed Dec 6, 2022
1 parent 1116f4e commit 3293a3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ concurrency:
cancel-in-progress: true

jobs:
#fixme: it seems like syntax tests always pass?
syntax_tests:
name: Syntax tests
runs-on: "ubuntu-latest"
timeout-minutes: 10
if: "! startsWith(github.event.pull_request.title, 'Scope names:')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand All @@ -39,6 +41,7 @@ jobs:
name: Highlight regression tests
runs-on: "ubuntu-latest"
timeout-minutes: 10
if: "! startsWith(github.event.pull_request.title, 'Scope names:')"
steps:
- uses: actions/checkout@v3
- name: Run highlight regression tests
Expand Down

0 comments on commit 3293a3f

Please sign in to comment.