removed quanta-studio related code from calendar-info #744
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: CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js 12.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- name: Prepare java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' # https://github.com/actions/setup-java/blob/main/README.md#Supported-distributions | |
java-version: '14' | |
java-package: jdk # optional (jdk or jre) - defaults to jdk | |
- name: Install clojure tools | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.10.3.929 # Clojure CLI based on tools.deps | |
- name: clj-fmt | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: clojure -M:cljfmt | |
shell: bash | |
- name: clj-kondo | |
run: clojure -M:lint | |
- name: test-clj | |
run: | | |
./run-tests.sh | |
# cd lib/indicator && clojure -X:test | |
# cd ../calendar && clojure -X:test | |
# cd ../trade && clojure -X:test | |
#- name: cloverage | |
# run: clojure -M:cloverage | |
- name: Release | |
if: success() | |
# if: github.event_name == 'push' | |
env: | |
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} | |
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }} | |
CODECOV_TOKEN: ${{ secrets.CodecovToken }} | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "awb99" | |
clojure -T:build jar | |
clojure -T:build deploy |