Skip to content

Haxe-Rename

Haxe-Rename #281

Workflow file for this run

name: Haxe-Rename
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '15 23 * * *'
jobs:
build:
strategy:
matrix:
haxe-version: ['4.3.4', 'nightly']
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Set Git Auto CRLF to false on Windows
if: matrix.platform == 'windows-latest'
run: git config --global core.autocrlf false
- name: Checkout Formatter sources
uses: actions/checkout@v1
- name: Use Node.js 10
uses: actions/setup-node@v1
with:
node-version: 10
- name: Run npm install
run: npm ci
- name: Install Haxe version ${{ matrix.haxe-version }}
run: |
npx lix download haxe ${{ matrix.haxe-version }}
npx lix use haxe ${{ matrix.haxe-version }}
- name: Run lix download
run: npx lix download
- name: Print versions
run: |
npx haxe -version
npx neko -version
npx haxelib list
- name: Build Nodejs version
run: npx haxe build.hxml
- name: Run Nodejs tests
run: npx haxe -D codecov_json test.hxml
- name: Upload results to codecov
if: success() && matrix.platform == 'ubuntu-latest' && matrix.haxe-version == '4.3.4'
run: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"