Skip to content

Commit

Permalink
Use macOS 13 instead of latest for GitHub Actions (#4391)
Browse files Browse the repository at this point in the history
* Try

* Remove x86_64 tag

* Try macOS 13 Arm

* Try macos 13

* Disable two formatter tests on macOS
  • Loading branch information
James-Yu committed Sep 16, 2024
1 parent cd8f79b commit cbe57e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/texlive_on_linux.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: TeX Live on Linux
env:
cache-version: v12
on: [push, pull_request]
on: push

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/texlive_on_mac.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: TeX Live on macOS
env:
cache-version: v12
on: [push, pull_request]
on: push

permissions:
contents: read

jobs:
macosx:
runs-on: macos-latest
runs-on: macos-13
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/texlive_on_win.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: TeX Live on Windows
env:
cache-version: v12
on: [push, pull_request]
on: push

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions test/suites/09_formatter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ suite('Formatter test suite', () => {
const original = readFileSync(path.resolve(fixture, 'main.tex')).toString()
const formatted = await test.format()
assert.notStrictEqual(original, formatted)
})
}, ['win32', 'linux'])

test.run('change formatting.latexindent.path on the fly', async (fixture: string) => {
await vscode.workspace.getConfiguration('latex-workshop').update('formatting.latexindent.path', 'echo')
Expand All @@ -63,7 +63,7 @@ suite('Formatter test suite', () => {
await vscode.workspace.getConfiguration('latex-workshop').update('formatting.latexindent.args', ['-c', '%DIR%/', '%TMPFILE%', '-y=defaultIndent: \'%INDENT%\''])
const formatted = await test.format()
assert.notStrictEqual(original, formatted)
})
}, ['win32', 'linux'])

test.run('test bibtex formatter', async (fixture: string) => {
await test.load(fixture, [
Expand Down

0 comments on commit cbe57e3

Please sign in to comment.