add Progress component #7
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: Testing π¨βπ¬ | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'dev' | |
paths-ignore: | |
- 'docs/**' | |
- '.github/ISSUE_TEMPLATE/*' | |
- '*.md' | |
- '*.nimble' | |
- '.gitignore' | |
- 'LICENSE' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '.github/ISSUE_TEMPLATE/*' | |
- '*.md' | |
- '*.nimble' | |
- '.gitignore' | |
- 'LICENSE' | |
jobs: | |
dependencies: | |
name: Install dependencies 𧩠| |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
nim_version: | |
- '2.0.0' | |
- '2.0.4' | |
env: | |
TIMEOUT_EXIT_STATUS: 124 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jiro4989/setup-nim-action@v1 | |
with: | |
nim-version: ${{ matrix.nim_version }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.nimble | |
~/.choosenim | |
key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }} | |
- name: Install Dependencies π | |
run: | | |
nimble refresh | |
nimble install -y -d | |
js: | |
name: Test with JavaScript π§ͺ | |
needs: dependencies | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
env: | |
TIMEOUT_EXIT_STATUS: 124 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.nimble | |
~/.choosenim | |
key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }} | |
- name: Build JS tests π | |
run: | | |
cd tests | |
for file in $(ls -v testjs*.nim); do | |
echo "###===--- JS Test for " $file " ---===###" | |
/home/runner/.nimble/bin/nim js -d:debug --hints:off --warnings:off $file | |
done | |
shell: bash |