feat: poise can be installed later #61
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: [ main ] | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Execute the script (Ubuntu/MacOS) | |
if: runner.os != 'Windows' | |
run: | | |
export PATH=$PATH:~/.erg/bin | |
export ERG_PATH=~/.erg | |
python bin/ergup310.pyc && rm -rf ~/.erg && python ergup.py nightly | |
echo 'print! "hello, world!"' | erg | |
- name: Execute the script (Windows) | |
if: runner.os == 'Windows' | |
run: | | |
$env:PATH+=";C:\Users\runneradmin\.erg\bin" | |
$env:ERG_PATH="C:\Users\runneradmin\.erg" | |
python bin/ergup310.pyc && Remove-Item -Force -Recurse C:\Users\runneradmin\.erg && python ergup.py nightly | |
echo 'print! "hello, world!"' | erg |