diff --git a/.github/workflows/Mac.yml b/.github/workflows/Mac.yml new file mode 100644 index 00000000000..0636f0aea05 --- /dev/null +++ b/.github/workflows/Mac.yml @@ -0,0 +1,61 @@ +name: Mac OS X Full Clean Build with ML +on: + push: + branches: + - "main" + - "full-builds" + workflow_dispatch: + inputs: + comments: + required: true + description: 'Test scenario tags' +jobs: + macos-conda: + name: MacOS-latest, Conda-latest, Python 3.8 + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + # Need to fetch more than the last commit so that setuptools-scm can + # create the correct version string. If the number of commits since + # the last release is greater than this, the version still be wrong. + # Increase if necessary. + fetch-depth: 100 + # The GitHub token is preserved by default but this job doesn't need + # to be able to push to GitHub. + persist-credentials: false + + - name: Setup Miniconda + uses: conda-incubator/setup-miniconda@v2 + with: + python-version: '3.8' + miniconda-version: 'latest' + auto-update-conda: true + channels: conda-forge + show-channel-urls: true + environment-file: conda-environment.yaml + activate-environment: testing + # Needed for caching + use-only-tar-bz2: true + + - name: Install gensim with conda + shell: bash -l {0} + run: | + conda install gensim=3.8.3 + + - name: Install dependencies (Bash) + shell: bash -l {0} + run: | + conda info + pip install --user --requirement requirements-full.txt + + - name: List installed packages (Bash) + shell: bash -l {0} + run: | + conda list + pip list + + - name: Run tests (Bash) + shell: bash -l {0} + run: pytest tests/ diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100755 index 00000000000..940138e40df --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,70 @@ +name: Windows 10 Full Clean Build with ML +on: + push: + branches: + - "main" + - "full-builds" + workflow_dispatch: + inputs: + comments: + required: true + description: 'Test scenario tags' +jobs: + windows-conda: + name: Windows-latest, Conda-latest, Python 3.7 + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + # Need to fetch more than the last commit so that setuptools-scm can + # create the correct version string. If the number of commits since + # the last release is greater than this, the version still be wrong. + # Increase if necessary. + fetch-depth: 100 + # The GitHub token is preserved by default but this job doesn't need + # to be able to push to GitHub. + persist-credentials: false + + - name: Setup Miniconda + uses: conda-incubator/setup-miniconda@v2 + with: + python-version: '3.7' + miniconda-version: 'latest' + auto-update-conda: true + channels: conda-forge + show-channel-urls: true + environment-file: conda-environment.yaml + activate-environment: testing + # Needed for caching + use-only-tar-bz2: true + + - name: Update Temp permissions on windows + if: runner.os == 'Windows' + shell: cmd /C CALL {0} + run: >- + c:\windows\system32\icacls C:\Users\runneradmin\AppData\Local\Temp /grant "everyone":F /t + + - name: Install fbprophet with conda + shell: bash -l {0} + run: | + conda install -c conda-forge fbprophet=0.6 + conda install spyder + conda install gensim=3.8.3 + + - name: Install dependencies (Bash) + shell: bash -l {0} + run: | + conda info + pip install --user --requirement requirements-full.txt + + - name: List installed packages (Bash) + shell: bash -l {0} + run: | + conda list + pip list + + - name: Run tests (Bash) + shell: bash -l {0} + run: pytest tests/ + diff --git a/ROADMAP.md b/ROADMAP.md index 74e5d1e9828..a18f1c02854 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -189,6 +189,7 @@ - [ ] Write a developer guide - [ ] Add a docker CI - [x] Add Feature Flags (@aia) - [PR #158](https://github.com/DidierRLopes/GamestonkTerminal/pull/158) +- [ ] Add ad-hoc builds ### Long term