Skip to content

Commit

Permalink
Move more scripted workflows to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jun 25, 2024
1 parent 81c65db commit eee0932
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 72 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ name: Euler Regression Check
on: push

jobs:
# python-lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
#
# - name: Use Python 3.12
# uses: actions/setup-python@v5
# with:
# python-version: 3.12
# cache: 'pip'
# cache-dependency-path: |
# python/requirements.txt
# c/requirements.txt
#
# - name: Lint
# run: make pytest LINT=only

python:
strategy:
matrix:
Expand Down Expand Up @@ -53,6 +70,24 @@ jobs:
- name: Run tests
run: make pytest LINT=false

javascript-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
cache: 'npm'
cache-dependency-path: 'javascript/package-lock.json'

- name: Fetch ESLint
run: npm install eslint-config-google@latest eslint@>=5.16.0

- name: Lint
run: npx eslint javascript/*.js

javascript:
strategy:
matrix:
Expand Down Expand Up @@ -107,6 +142,16 @@ jobs:
- name: Run tests
run: make jstest

c-lint:
steps:
- uses: actions/checkout@v3

- name: Setup clang-tidy
run: sudo apt-get install -y clang-tidy

- name: Run tests
run: make clint

c:
strategy:
matrix:
Expand Down
33 changes: 0 additions & 33 deletions .scripts/appveyor_script.bat

This file was deleted.

4 changes: 0 additions & 4 deletions .scripts/installpypy3.ps1

This file was deleted.

35 changes: 0 additions & 35 deletions .scripts/travis_script.sh

This file was deleted.

0 comments on commit eee0932

Please sign in to comment.